/* =========================================================
   鲸云发卡 · 白色主题
   前台 / 商户后台 / 平台后台统一浅色视觉
   ========================================================= */

/* ---------------- 前台：基础白 ---------------- */
.front-body,
.store-body {
    --bg: #f5f7fb;
    --bg-2: #ffffff;
    --panel: #ffffff;
    --panel-solid: #ffffff;
    --line: #e7edf5;
    --line-strong: #d9e3ef;
    --text: #111827;
    --text-2: #4b5b6e;
    --muted: #8a99aa;
    --teal: #2563eb;
    --teal-deep: #1d4ed8;
    --blue: #2563eb;
    --accent: #2563eb;
    --danger: #ef4b5f;
    --warning: #f59e0b;
    --shadow: 0 16px 45px rgba(23, 43, 77, .07);
    background: #f5f7fb !important;
    color: #111827 !important;
}
.front-body ::selection,
.store-body ::selection { background: rgba(37, 99, 235, .16); color: #0f172a; }
.front-body .ambient,
.store-body .store-aurora,
.front-body .hero-grid-lines,
.store-body .store-aurora { display: none !important; }
.front-body .site-main { background: transparent; }

/* 头部 */
.front-body .site-header {
    background: rgba(255, 255, 255, .94) !important;
    border-bottom: 1px solid #e8edf5 !important;
    box-shadow: 0 4px 24px rgba(23, 43, 77, .04);
    backdrop-filter: blur(18px);
}
.front-body .brand-text strong { color: #111827 !important; }
.front-body .brand-text em { color: #93a2b4 !important; }
.front-body .main-nav a { color: #5a6a7d !important; }
.front-body .main-nav a:hover { color: #111827 !important; }
.front-body .main-nav a.is-active { color: #2563eb !important; }
.front-body .main-nav a.is-active::after { background: #2563eb !important; box-shadow: none !important; }
.front-body .header-search {
    background: #f4f7fb !important;
    border: 1px solid #e6edf5 !important;
    color: #64748b !important;
}
.front-body .header-search input { color: #111827 !important; }
.front-body .header-search input::placeholder { color: #9aa8b7 !important; }
.front-body .header-search kbd { color: #94a3b8 !important; background: #fff !important; border-color: #e6edf5 !important; }
.front-body .header-query { color: #334155 !important; border-color: #e6edf5 !important; background: #fff !important; }
.front-body .header-query:hover { color: #2563eb !important; border-color: #bcd0f7 !important; }
.front-body .icon-button { color: #475569 !important; border-color: #e6edf5 !important; background: #fff !important; }
.front-body .mobile-drawer { background: #fff !important; border-color: #e8edf5 !important; }
.front-body .mobile-drawer a { color: #334155 !important; border-color: #eef2f7 !important; }
.front-body .mobile-search-form { background: #f4f7fb !important; border-color: #e6edf5 !important; }
.front-body .mobile-search-form input { color: #111827 !important; }
.front-body .notice-strip { background: #eef4ff !important; color: #3355a5 !important; border-color: #dbe7ff !important; }
.front-body .notice-dot { background: #2563eb !important; box-shadow: none !important; }

/* 页脚 */
.front-body .site-footer {
    background: #ffffff !important;
    border-top: 1px solid #e8edf5 !important;
    color: #64748b !important;
    padding: 34px 0 18px !important;
}
.front-body .site-footer .brand-text strong { color: #111827 !important; }
.front-body .site-footer p,
.front-body .site-footer a,
.front-body .site-footer span { color: #7a8898 !important; }
.front-body .site-footer a:hover { color: #2563eb !important; }
.front-body .footer-bottom { border-color: #eef2f7 !important; }
.front-body .support-fab {
    background: #2563eb !important;
    color: #fff !important;
    box-shadow: 0 12px 30px rgba(37, 99, 235, .28) !important;
}

/* 通用按钮 / 表单 */
.front-body .btn-primary,
.store-body .btn-primary,
.auth-body .btn-primary {
    background: #2563eb !important;
    color: #fff !important;
    box-shadow: 0 10px 24px rgba(37, 99, 235, .2) !important;
}
.front-body .btn-ghost,
.store-body .btn-ghost,
.auth-body .btn-ghost {
    background: #fff !important;
    color: #334155 !important;
    border: 1px solid #dfe8f2 !important;
    box-shadow: none !important;
}
.front-body .btn-ghost:hover,
.store-body .btn-ghost:hover { border-color: #bcd0f7 !important; color: #2563eb !important; }
.front-body .text-link, .store-body .text-link { color: #2563eb !important; }
.front-body .eyebrow, .store-body .eyebrow { color: #2563eb !important; }
.front-body .eyebrow i, .store-body .eyebrow i { background: #2563eb !important; box-shadow: none !important; }
.front-body .grad-text, .store-body .grad-text,
.front-body .apply-head h1 span { background: linear-gradient(100deg, #2563eb, #38bdf8) !important; -webkit-background-clip: text !important; background-clip: text !important; color: transparent !important; }
.front-body .field > span { color: #475569 !important; }
.front-body .field input,
.front-body .field select,
.front-body .field textarea,
.store-body .field input,
.store-body .field select,
.store-body .field textarea,
.auth-body .field input,
.auth-body .field select {
    background: #f7f9fc !important;
    border-color: #e1e9f2 !important;
    color: #111827 !important;
}
.front-body .field input::placeholder,
.front-body .field textarea::placeholder { color: #a2adba !important; }
.front-body .field input:focus,
.front-body .field select:focus,
.front-body .field textarea:focus {
    background: #fff !important;
    border-color: #93b4f8 !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, .08) !important;
}
.front-body .input-prefix { background: #f7f9fc !important; border-color: #e1e9f2 !important; }
.front-body .input-prefix em { color: #94a3b8 !important; }
.front-body .input-prefix input { background: transparent !important; }
.front-body .alert-box { background: #fff5f5 !important; border-color: #ffdada !important; color: #b42318 !important; }
.front-body .form-foot { color: #8a99aa !important; }
.front-body .form-foot a { color: #2563eb !important; }

/* ---------------- 推广首页：简洁白 ---------------- */
.hp-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(700px 360px at 85% 0%, rgba(37, 99, 235, .10), transparent 65%),
        radial-gradient(520px 300px at 8% 18%, rgba(56, 189, 248, .12), transparent 60%),
        #ffffff;
    border-bottom: 1px solid #e9eff7;
}
.hp-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(#dbe6f4 .8px, transparent .8px);
    background-size: 24px 24px;
    opacity: .45;
    pointer-events: none;
    mask-image: linear-gradient(to bottom, #000, transparent 88%);
}
.hp-hero .shell { position: relative; z-index: 1; padding: 66px 0 52px; }
.hp-kicker {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 7px 13px; border-radius: 999px;
    background: #edf4ff; color: #2563eb;
    font-size: 12px; font-weight: 700; letter-spacing: .06em;
}
.hp-kicker i { width: 6px; height: 6px; border-radius: 50%; background: #2563eb; }
.hp-hero h1 {
    margin: 18px 0 10px;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.12;
    letter-spacing: -.04em;
    color: #0f172a;
    font-weight: 850;
}
.hp-hero h1 span {
    color: #2563eb;
    background: linear-gradient(100deg, #2563eb, #38bdf8);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hp-hero .hp-lead {
    max-width: 620px;
    color: #68788b;
    font-size: 15px;
    line-height: 1.8;
}
.hp-search {
    display: flex; align-items: center; gap: 10px;
    max-width: 720px; margin-top: 26px;
    padding: 8px 8px 8px 18px;
    background: #fff;
    border: 1px solid #dde7f2;
    border-radius: 16px;
    box-shadow: 0 16px 38px rgba(30, 64, 120, .10);
}
.hp-search > .icon { width: 21px; height: 21px; color: #7d8da0; flex: 0 0 auto; }
.hp-search input {
    flex: 1; min-width: 0; border: 0; outline: 0; background: transparent;
    color: #111827; font-size: 15px; padding: 10px 0;
}
.hp-search input::placeholder { color: #a3afbf; }
.hp-search button {
    border: 0; border-radius: 11px; padding: 13px 22px;
    background: #2563eb; color: #fff; font-weight: 700; white-space: nowrap;
}
.hp-hot { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 15px; color: #94a3b8; font-size: 12.5px; }
.hp-hot a { color: #55657a; }
.hp-hot a:hover { color: #2563eb; }
.hp-trust { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 26px; color: #7a8899; font-size: 12.5px; }
.hp-trust span { display: inline-flex; align-items: center; gap: 6px; }
.hp-trust .icon { width: 15px; height: 15px; color: #2563eb; }

.hp-goods { padding: 34px 0 20px; }
.hp-filter { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.hp-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.hp-cats a {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 8px 15px; border-radius: 999px;
    background: #fff; border: 1px solid #e5edf6;
    color: #5c6b7d; font-size: 12.5px; font-weight: 600;
}
.hp-cats a:hover { border-color: #bcd0f7; color: #2563eb; }
.hp-cats a.is-active { background: #2563eb; border-color: #2563eb; color: #fff; }
.hp-cats a em { font-style: normal; opacity: .66; font-size: 11px; }
.hp-sort { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: #fff; border: 1px solid #e5edf6; flex: 0 0 auto; }
.hp-sort a { padding: 6px 11px; border-radius: 999px; color: #7a8899; font-size: 12px; }
.hp-sort a.is-active { background: #eef4ff; color: #2563eb; font-weight: 700; }
.hp-result { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 14px; color: #8a99aa; font-size: 12.5px; }
.hp-result strong { color: #111827; }
.hp-filter-banner { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; padding: 11px 15px; border-radius: 12px; background: #eef4ff; color: #3355a5; font-size: 12.5px; }
.hp-filter-banner a { color: #2563eb; font-weight: 600; }

/* 商品卡：白底简洁 */
.front-body .product-card,
.store-body .product-card {
    display: flex; flex-direction: column;
    background: #fff !important;
    border: 1px solid #e7edf5 !important;
    border-radius: 16px !important;
    overflow: hidden;
    box-shadow: 0 8px 26px rgba(23, 43, 77, .05) !important;
    color: #111827 !important;
}
.front-body .product-card:hover,
.store-body .product-card:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(23, 43, 77, .10) !important; border-color: #d9e5f3 !important; }
.front-body .product-cover,
.store-body .product-cover { background: #f2f7fd !important; aspect-ratio: 4 / 3; }
.front-body .product-cover img,
.store-body .product-cover img { object-fit: cover; }
.front-body .cover-shine,
.front-body .cover-skeleton { display: none !important; }
.front-body .product-cat,
.store-body .product-cat { background: rgba(255,255,255,.92) !important; color: #475569 !important; border: 1px solid #e8eef6; }
.front-body .product-soldout,
.store-body .product-soldout { background: #fff1f0 !important; color: #d4380d !important; }
.front-body .product-body,
.store-body .product-body { background: #fff !important; padding: 14px 15px 15px !important; }
.front-body .product-body h3,
.store-body .product-body h3 { color: #111827 !important; font-size: 14.5px !important; line-height: 1.5; }
.front-body .product-body > p,
.store-body .product-body > p { color: #8a99aa !important; font-size: 12px !important; }
.front-body .product-meta span,
.store-body .product-meta span { color: #8997a8 !important; }
.front-body .product-shop i { background: #eef4ff !important; color: #2563eb !important; }
.front-body .product-stock.is-low { color: #e8590c !important; }
.front-body .product-price strong,
.store-body .product-price strong { color: #111827 !important; font-size: 21px !important; }
.front-body .product-price small,
.store-body .product-price small { color: #111827 !important; }
.front-body .product-price del,
.store-body .product-price del { color: #a4b0be !important; }
.front-body .product-buy,
.store-body .product-buy { background: #eef4ff !important; color: #2563eb !important; border-radius: 9px; padding: 6px 9px; font-size: 11.5px; font-weight: 700; }
.front-body .product-grid,
.store-body .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 16px !important; }

/* 首页三步 / 入驻 */
.hp-steps { padding: 44px 0; }
.hp-steps-wrap { border-radius: 22px; background: #fff; border: 1px solid #e7edf5; padding: 32px; box-shadow: 0 12px 36px rgba(23,43,77,.04); }
.hp-steps-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.hp-steps-head h2 { font-size: 25px; color: #0f172a; letter-spacing: -.03em; }
.hp-steps-head p { color: #8a99aa; font-size: 13px; margin-top: 4px; }
.hp-step-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.hp-step { padding: 20px; border-radius: 16px; background: #f8fafd; border: 1px solid #eef3f9; }
.hp-step i { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: #eef4ff; color: #2563eb; font-style: normal; font-size: 12px; font-weight: 800; margin-bottom: 12px; }
.hp-step h3 { font-size: 14.5px; color: #111827; margin-bottom: 5px; }
.hp-step p { font-size: 12.5px; color: #8a99aa; line-height: 1.7; }
.hp-cta { padding: 8px 0 50px; }
.hp-cta-card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 32px 36px; border-radius: 22px; background: linear-gradient(100deg, #eef5ff, #f5fbff); border: 1px solid #dce9fa; }
.hp-cta-card h2 { font-size: 24px; color: #0f172a; letter-spacing: -.03em; }
.hp-cta-card p { color: #718096; font-size: 13px; margin-top: 6px; }

/* 通用版块、标题 */
.front-body .section { padding: 32px 0; }
.front-body .section-head h2 { color: #0f172a !important; }
.front-body .section-head p { color: #8a99aa !important; }
.front-body .sort-tabs { background: #fff; border-color: #e5edf6; }
.front-body .sort-tabs a { color: #7a8899; }
.front-body .sort-tabs a.is-active { background: #eef4ff; color: #2563eb; }
.front-body .category-strip { background: transparent; border: 0; }
.front-body .cat-pill { background: #fff; border-color: #e5edf6; color: #5c6b7d; }
.front-body .cat-pill.is-active { background: #2563eb; color: #fff; border-color: #2563eb; }
.front-body .filter-banner { background: #eef4ff; color: #3355a5; border: 1px solid #dbe7ff; }
.front-body .pagination a, .front-body .pagination span { background: #fff; border-color: #e5edf6; color: #5c6b7d; }
.front-body .pagination .is-active { background: #2563eb; color: #fff; border-color: #2563eb; }
.front-body .empty-state { background: #fff; border-color: #e7edf5; }
.front-body .empty-state h3 { color: #111827; }
.front-body .empty-state p { color: #8a99aa; }

/* ---------------- 商品详情 / 店铺 ---------------- */
.front-body .product-page-hero,
.front-body .product-hero,
.front-body .detail-shell,
.front-body .product-detail { background: transparent !important; }
.front-body .gallery-main,
.front-body .gallery-thumbs,
.front-body .product-info,
.front-body .buy-panel,
.front-body .product-panel,
.front-body .detail-main,
.front-body .detail-side,
.front-body .related-section .product-card { background: #fff !important; border-color: #e7edf5 !important; }
.front-body .gallery-main,
.front-body .product-info,
.front-body .buy-panel { border-radius: 18px; box-shadow: 0 10px 30px rgba(23,43,77,.05); }
.front-body .product-title,
.front-body .product-info h1,
.front-body .detail-main h2,
.front-body .detail-main h3 { color: #111827 !important; }
.front-body .product-sub,
.front-body .product-info p,
.front-body .detail-main p,
.front-body .detail-main li { color: #5b6b7d !important; }
.front-body .gallery-trust,
.front-body .product-tag-row,
.front-body .detail-side { display: none !important; }
.front-body .detail-layout { grid-template-columns: 1fr !important; }
.front-body .price-now,
.front-body .product-price-main { color: #111827 !important; }
.front-body .buy-panel .field input { background: #f7f9fc !important; }
.front-body .qty-control { background: #f7f9fc !important; border-color: #e1e9f2 !important; }
.front-body .qty-control button { color: #334155 !important; }
.front-body .buy-note,
.front-body .delivery-note { color: #7a8899 !important; background: #f8fafd !important; border-color: #eef3f9 !important; }

.store-body .store-topline { background: #eef4ff !important; color: #3b5b9d !important; border-color: #dbe7ff !important; }
.store-body .store-header,
.store-body .store-main,
.store-body .store-footer { background: transparent !important; }
.store-body .store-header { background: #fff !important; border-bottom: 1px solid #e8edf5 !important; }
.store-body .store-brand strong { color: #111827 !important; }
.store-body .store-brand em { color: #8a99aa !important; }
.store-body .store-nav a { color: #5c6b7d !important; }
.store-body .store-nav a.is-active { color: #2563eb !important; }
.store-body .store-search { background: #f4f7fb !important; border-color: #e6edf5 !important; }
.store-body .store-search input { color: #111827 !important; }
.store-body .store-hero,
.store-body .store-card,
.store-body .store-panel,
.store-body .store-guarantee,
.store-body .store-faq { background: #fff !important; border-color: #e7edf5 !important; box-shadow: 0 10px 30px rgba(23,43,77,.05) !important; }
.store-body .store-hero { overflow: hidden; }
.store-body .store-banner { background: linear-gradient(120deg, #dbeafe, #ecfeff) !important; }
.store-body .store-hero h1,
.store-body .store-panel h2,
.store-body .store-panel h3 { color: #111827 !important; }
.store-body .store-hero p,
.store-body .store-panel p { color: #5b6b7d !important; }
.store-body .store-stat strong { color: #111827 !important; }
.store-body .store-guarantee { display: none !important; }
.store-body .store-footer { background: #fff !important; border-top: 1px solid #e8edf5 !important; color: #7a8899 !important; }
.store-body .store-footer a { color: #5c6b7d !important; }

/* 店铺公告弹窗 + 浮动按钮 */
.store-notice-modal {
    position: fixed; inset: 0; z-index: 120;
    display: none; align-items: center; justify-content: center;
    padding: 20px;
    background: rgba(15, 23, 42, .45);
    backdrop-filter: blur(10px);
}
.store-notice-modal.is-open { display: flex; }
.store-notice-dialog {
    width: min(520px, 100%);
    max-height: 80vh; overflow: auto;
    background: #fff; border-radius: 20px;
    box-shadow: 0 30px 90px rgba(15, 23, 42, .24);
    padding: 24px;
    position: relative;
}
.store-notice-dialog h3 { display: flex; align-items: center; gap: 9px; color: #111827; font-size: 19px; }
.store-notice-dialog h3 i { width: 8px; height: 8px; border-radius: 50%; background: #2563eb; }
.store-notice-dialog p { margin-top: 14px; color: #475569; font-size: 14px; line-height: 1.9; white-space: pre-line; }
.store-notice-close {
    position: absolute; top: 15px; right: 15px;
    width: 32px; height: 32px; border-radius: 50%;
    border: 1px solid #e7edf5; background: #f8fafc; color: #64748b;
    font-size: 18px; line-height: 1;
}
.store-float-actions {
    position: fixed; right: 16px; top: 46%; z-index: 40;
    display: flex; flex-direction: column; gap: 8px;
}
.store-float-actions a,
.store-float-actions button {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    width: 74px; min-height: 48px; padding: 8px 6px;
    border: 1px solid #e7edf5; border-radius: 12px;
    background: #fff; color: #475569;
    box-shadow: 0 10px 24px rgba(23,43,77,.10);
    font-size: 11.5px; font-weight: 600; text-align: center;
}
.store-float-actions .icon { width: 17px; height: 17px; color: #2563eb; }
.store-float-actions a:hover, .store-float-actions button:hover { color: #2563eb; border-color: #bcd0f7; }
.store-float-actions .is-accent { background: #2563eb; color: #fff; border-color: #2563eb; }
.store-float-actions .is-accent .icon { color: #fff; }

/* ---------------- 结算 / 支付 / 订单 / 查询 / 投诉 / 入驻 ---------------- */
.front-body .checkout-shell,
.front-body .pay-shell,
.front-body .order-shell,
.front-body .query-shell,
.front-body .complaint-shell,
.front-body .apply-shell,
.front-body .return-shell { background: transparent !important; }
.front-body .checkout-panel,
.front-body .checkout-main,
.front-body .checkout-summary,
.front-body .summary-card,
.front-body .pay-card,
.front-body .pay-order,
.front-body .pay-method,
.front-body .order-card,
.front-body .order-status-card,
.front-body .delivery-box,
.front-body .secret-box,
.front-body .query-form-card,
.front-body .query-result,
.front-body .complaint-form-card,
.front-body .complaint-side,
.front-body .apply-form-wrap,
.front-body .apply-dashboard,
.front-body .apply-next,
.front-body .return-card,
.front-body .auth-panel {
    background: #fff !important;
    border: 1px solid #e7edf5 !important;
    box-shadow: 0 12px 34px rgba(23,43,77,.05) !important;
    color: #111827 !important;
}
.front-body .checkout-steps li,
.front-body .checkout-steps a { color: #8a99aa !important; }
.front-body .checkout-steps .is-active,
.front-body .checkout-steps .is-done { color: #2563eb !important; }
.front-body .checkout-steps .is-active i,
.front-body .checkout-steps .is-done i { background: #2563eb !important; color: #fff !important; }
.front-body .checkout-panel h2,
.front-body .checkout-panel h3,
.front-body .checkout-summary h3,
.front-body .pay-card h1,
.front-body .pay-card h2,
.front-body .order-card h1,
.front-body .order-card h2,
.front-body .query-form-card h1,
.front-body .complaint-form-card h1 { color: #111827 !important; }
.front-body .checkout-panel p,
.front-body .checkout-summary p,
.front-body .pay-card p,
.front-body .order-card p { color: #5b6b7d !important; }
.front-body .pay-method label,
.front-body .checkout-panel label,
.front-body .method-card,
.front-body .contact-tab { background: #f8fafd !important; border-color: #e5edf6 !important; color: #334155 !important; }
.front-body .pay-method input:checked + label,
.front-body .method-card.is-active,
.front-body .contact-tab.is-active { border-color: #93b4f8 !important; background: #eef4ff !important; color: #2563eb !important; }
.front-body .order-status-card { background: linear-gradient(120deg, #eef5ff, #fff) !important; }
.front-body .order-hero { background: transparent !important; }
.front-body .secret-content,
.front-body .secret-box,
.front-body .delivery-secret {
    background: #f8fafc !important;
    border: 1px dashed #cfdbea !important;
    color: #0f172a !important;
}
.front-body .secret-content * { color: #0f172a !important; }
.front-body .apply-head h1,
.front-body .apply-form-head h2,
.front-body .apply-success h1 { color: #0f172a !important; }
.front-body .apply-head p,
.front-body .apply-form-head p { color: #7a8899 !important; }
.front-body .apply-dashboard { background: linear-gradient(140deg, #eef5ff, #f8fcff) !important; }
.front-body .apply-dashboard .ad-top,
.front-body .apply-dashboard .ad-row { color: #64748b !important; border-color: #e2ebf5 !important; }
.front-body .apply-dashboard .ad-metrics strong { color: #111827 !important; }
.front-body .apply-dashboard .ad-chart i { background: linear-gradient(to top, #93c5fd, #2563eb) !important; }
.front-body .apply-points span { color: #475569 !important; }
.front-body .apply-steps { background: #fff !important; border-color: #e7edf5 !important; }
.front-body .apply-success { background: #fff !important; border-color: #e7edf5 !important; }
.front-body .apply-next { background: #f8fafd !important; }

/* 登录 */
.auth-body { background: #f5f7fb !important; color: #111827 !important; }
.auth-body .auth-visual {
    background:
        radial-gradient(600px 360px at 80% 8%, rgba(37, 99, 235, .18), transparent 60%),
        linear-gradient(150deg, #eef5ff, #f8fbff) !important;
    color: #111827 !important;
    border-right: 1px solid #e6edf5;
}
.auth-body .auth-panel { background: #fff !important; color: #111827 !important; }
.auth-body .auth-visual h1,
.auth-body .auth-panel h2 { color: #0f172a !important; }
.auth-body .auth-visual p,
.auth-body .auth-panel p,
.auth-body .auth-brand em { color: #6b7b8e !important; }
.auth-body .auth-visual .eyebrow { color: #2563eb !important; }
.auth-body .auth-visual .eyebrow i { background: #2563eb !important; }
.auth-body .auth-feature,
.auth-body .auth-metric { background: rgba(255,255,255,.65) !important; border-color: #dce8f7 !important; color: #334155 !important; }
.auth-body .auth-feature strong,
.auth-body .auth-metric strong { color: #111827 !important; }
.auth-body .auth-panel .field input { background: #f7f9fc !important; border-color: #e1e9f2 !important; color: #111827 !important; }
.auth-body .auth-panel .field > span { color: #475569 !important; }
.auth-body .auth-panel .btn-primary { background: #2563eb !important; color: #fff !important; }
.auth-body .auth-panel .auth-alt a { color: #2563eb !important; }
.auth-body .auth-panel .auth-note { color: #8a99aa !important; }
.auth-body .auth-panel .auth-error { background: #fff5f5 !important; border-color: #ffdada !important; color: #b42318 !important; }

/* ---------------- 商户后台：白色 + 底部三按钮 ---------------- */
.m-body {
    --m-bg: #f5f7fb;
    --m-card: #ffffff;
    --m-line: #e8eef6;
    --m-teal: #2563eb;
    --m-teal-dark: #1d4ed8;
    --m-blue: #2563eb;
    background: #f5f7fb !important;
    color: #172033 !important;
}
.m-app { min-height: 100vh; }
.m-appbar {
    position: sticky; top: 0; z-index: 50;
    background: rgba(255,255,255,.95);
    border-bottom: 1px solid #e8eef6;
    backdrop-filter: blur(18px);
}
.m-appbar-inner {
    max-width: 1020px; margin: 0 auto;
    display: flex; align-items: center; gap: 12px;
    padding: 13px 18px;
}
.m-appbar-logo {
    width: 42px; height: 42px; border-radius: 13px; overflow: hidden;
    border: 1px solid #e8eef6; background: #f7f9fc; flex: 0 0 auto;
}
.m-appbar-logo img { width: 100%; height: 100%; object-fit: cover; }
.m-appbar-name { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.m-appbar-name strong { font-size: 14px; color: #111827; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-appbar-name span { font-size: 10.5px; color: #8a99aa; margin-top: 2px; }
.m-appbar-actions { display: flex; align-items: center; gap: 8px; }
.m-appbar-balance { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.25; padding-right: 4px; }
.m-appbar-balance span { font-size: 9px; color: #8a99aa; }
.m-appbar-balance strong { font-size: 14px; color: #2563eb; }
.m-appbar-icon {
    width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
    border: 1px solid #e8eef6; background: #fff; color: #64748b;
}
.m-appbar-icon .icon { width: 16px; height: 16px; }
.m-content {
    max-width: 1020px !important;
    margin: 0 auto !important;
    padding: 18px 18px 104px !important;
    min-height: calc(100vh - 68px);
}
.m-footer { display: none !important; }
.m-bottom-nav {
    position: fixed; left: 50%; bottom: 14px; transform: translateX(-50%);
    z-index: 80; width: min(430px, calc(100% - 28px));
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px;
    padding: 7px; border-radius: 20px;
    background: rgba(255,255,255,.96);
    border: 1px solid #e6edf5;
    box-shadow: 0 16px 40px rgba(23,43,77,.14);
    backdrop-filter: blur(18px);
}
.m-bottom-nav a {
    display: flex; flex-direction: column; align-items: center; gap: 3px;
    padding: 7px 4px 6px; border-radius: 14px;
    color: #8a99aa; font-size: 10.5px; font-weight: 600;
}
.m-bottom-nav a .icon { width: 20px; height: 20px; }
.m-bottom-nav a.is-active { background: #eef4ff; color: #2563eb; }
.m-quick-card {
    background: #fff; border: 1px solid #e8eef6; border-radius: 18px;
    padding: 18px; box-shadow: 0 8px 26px rgba(23,43,77,.04);
    margin-top: 16px;
}
.m-quick-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.m-quick-head h3 { font-size: 15px; color: #111827; }
.m-quick-head a { font-size: 11px; color: #2563eb; }
.m-quick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.m-quick-grid a {
    display: flex; flex-direction: column; align-items: center; gap: 7px;
    padding: 13px 6px; border-radius: 14px; background: #f8fafd;
    color: #5b6b7d; font-size: 11.5px; font-weight: 600;
}
.m-quick-grid a:hover { background: #eef4ff; color: #2563eb; }
.m-quick-icon {
    width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center;
    background: #eef4ff; color: #2563eb;
}
.m-quick-icon .icon { width: 19px; height: 19px; }
.m-profile-card {
    display: flex; align-items: center; gap: 13px;
    background: #fff; border: 1px solid #e8eef6; border-radius: 18px;
    padding: 16px; box-shadow: 0 8px 26px rgba(23,43,77,.04);
    margin-bottom: 14px;
}
.m-profile-avatar {
    width: 56px; height: 56px; border-radius: 16px; overflow: hidden;
    background: #eef4ff; flex: 0 0 auto; border: 1px solid #e4ecf6;
}
.m-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.m-profile-info { flex: 1; min-width: 0; }
.m-profile-info h2 { font-size: 17px; color: #111827; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-profile-info p { font-size: 11px; color: #8a99aa; margin-top: 4px; }
.m-profile-status { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: #ecfdf5; color: #059669; font-size: 9.5px; font-weight: 700; margin-top: 5px; }
.m-profile-status i { width: 5px; height: 5px; border-radius: 50%; background: #10b981; }
.m-profile-link { width: 34px; height: 34px; border-radius: 10px; border: 1px solid #e8eef6; display: grid; place-items: center; color: #94a3b8; }
.m-page-head { margin-bottom: 14px; }
.m-page-head h2 { color: #111827; }
.m-page-head p { color: #8a99aa; }
.m-stats { gap: 10px !important; }
.m-stat { border-color: #e8eef6 !important; box-shadow: 0 8px 26px rgba(23,43,77,.04) !important; border-radius: 16px !important; }
.m-stat-meta strong { color: #111827 !important; }
.m-card { border-color: #e8eef6 !important; box-shadow: 0 8px 26px rgba(23,43,77,.04) !important; border-radius: 18px !important; }
.m-card h3 { color: #111827 !important; }
.m-card p { color: #8a99aa !important; }
.m-balance-card {
    background: linear-gradient(150deg, #eef5ff, #ffffff) !important;
    color: #111827 !important;
    border-color: #dce8f7 !important;
}
.m-balance-card .m-card-kicker { color: #64748b !important; }
.m-balance-amount { color: #111827 !important; }
.m-balance-card p { color: #6b7b8e !important; }
.m-balance-mini strong { color: #111827 !important; }
.m-balance-mini span { color: #8a99aa !important; }
.m-table th { color: #8a99aa !important; background: #f8fafd !important; }
.m-table td { color: #475569 !important; border-color: #eef3f8 !important; }
.m-table tr:hover td { background: #f8fbff !important; }
.m-btn-primary, .btn-m-primary { background: #2563eb !important; border-color: #2563eb !important; color: #fff !important; }
.m-btn-ghost, .btn-m-ghost { background: #fff !important; border-color: #e1e9f2 !important; color: #475569 !important; }
.m-sidebar, .m-overlay, .m-menu-btn { display: none !important; }
.m-main { margin-left: 0 !important; }
.m-topbar { display: none !important; }
.m-dashboard-grid { grid-template-columns: minmax(0, 1.65fr) minmax(280px, .8fr) !important; }
.m-dashboard-bottom { grid-template-columns: minmax(0, 1.65fr) minmax(280px, .8fr) !important; }
.m-mobile-title { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.m-mobile-title h1 { font-size: 20px; color: #111827; letter-spacing: -.02em; }
.m-mobile-title a { font-size: 11px; color: #2563eb; }
@media (max-width: 900px) {
    .m-dashboard-grid, .m-dashboard-bottom { grid-template-columns: 1fr !important; }
    .m-content { padding: 14px 14px 100px !important; }
    .m-stats { grid-template-columns: repeat(2, minmax(0,1fr)) !important; }
}
@media (max-width: 560px) {
    .m-appbar-balance { display: none; }
    .m-stats { grid-template-columns: 1fr 1fr !important; }
    .m-stat { padding: 12px !important; }
    .m-stat-meta strong { font-size: 18px !important; }
}


/* ---------------- 平台后台：白色数据大屏 ---------------- */
.a-body {
    --a-bg: #f5f7fb;
    --a-bg-2: #ffffff;
    --a-panel: #ffffff;
    --a-panel-2: #ffffff;
    --a-line: #e7edf5;
    --a-line-2: #dbe5f0;
    --a-text: #142033;
    --a-text-2: #52657a;
    --a-muted: #8a9aab;
    --a-teal: #2563eb;
    --a-teal-2: #1d4ed8;
    --a-blue: #2563eb;
    --a-orange: #e8890c;
    --a-danger: #e5484d;
    --a-violet: #7c5ce5;
    background: #f5f7fb !important;
    color: #142033 !important;
}
.a-grid-bg { display: none !important; }
.a-sidebar {
    background: #ffffff !important;
    border-right: 1px solid #e7edf5 !important;
    box-shadow: 4px 0 24px rgba(23, 43, 77, .035);
}
.a-brand { border-bottom-color: #eef2f7 !important; }
.a-brand strong { color: #111827 !important; }
.a-brand em { color: #94a3b8 !important; }
.a-logo { border-color: #dce7f5 !important; background: #f4f8ff !important; }
.a-side-status { border-bottom-color: #eef2f7 !important; color: #64748b !important; }
.a-side-status i { background: #10b981 !important; }
.a-nav-label { color: #a0adbb !important; }
.a-nav a { color: #64748b !important; }
.a-nav a:hover { color: #111827 !important; background: #f5f8fc !important; }
.a-nav a.is-active { color: #1d4ed8 !important; background: #edf4ff !important; }
.a-nav-icon { color: #94a3b8 !important; }
.a-nav-icon .icon { color: inherit; }
.a-nav a.is-active .a-nav-icon { color: #2563eb !important; }
.a-nav-glow { background: #2563eb !important; box-shadow: none !important; }
.a-sidebar-foot { border-top-color: #eef2f7 !important; }
.a-sidebar-foot > a { color: #7a8899 !important; }
.a-admin-card { border-color: #e7edf5 !important; background: #f8fafd !important; }
.a-admin-card strong { color: #111827 !important; }
.a-admin-card em { color: #8a99aa !important; }
.a-admin-card button { color: #8a99aa !important; }
.a-avatar { background: #e8f0ff !important; color: #1d4ed8 !important; }
.a-main { background: transparent !important; }
.a-topbar {
    background: rgba(255, 255, 255, .95) !important;
    border-bottom: 1px solid #e7edf5 !important;
    box-shadow: 0 4px 18px rgba(23, 43, 77, .03);
    backdrop-filter: blur(18px);
}
.a-top-title span { color: #94a3b8 !important; }
.a-top-title h1 { color: #111827 !important; }
.a-top-title span i { color: #c4cdd8 !important; }
.a-clock span { color: #111827 !important; }
.a-clock em { color: #94a3b8 !important; }
.a-pulse { color: #059669 !important; border-color: #bbf7d0 !important; background: #ecfdf5 !important; }
.a-pulse i { background: #10b981 !important; box-shadow: none !important; }
.a-top-action { color: #475569 !important; border-color: #e1e9f2 !important; background: #fff !important; }
.a-top-avatar { background: #e8f0ff !important; color: #1d4ed8 !important; border-color: #d7e5fb !important; }
.a-menu-btn { color: #475569 !important; border-color: #e1e9f2 !important; background: #fff !important; }
.a-overlay { background: rgba(15, 23, 42, .32) !important; }
.a-content { background: transparent !important; }
.a-footer { background: #fff !important; border-top: 1px solid #e7edf5 !important; color: #94a3b8 !important; }

.a-page-head h2 { color: #111827 !important; }
.a-page-head p { color: #7a8899 !important; }
.a-kicker { color: #2563eb !important; }
.a-kicker i { background: #2563eb !important; box-shadow: none !important; }
.a-live-text { color: #059669 !important; }
.a-live-text i { background: #10b981 !important; }
.a-btn-primary {
    background: #2563eb !important; color: #fff !important;
    box-shadow: 0 8px 20px rgba(37, 99, 235, .2) !important;
}
.a-btn-ghost { background: #fff !important; color: #475569 !important; border-color: #dfe8f2 !important; }
.a-btn-ghost:hover { color: #2563eb !important; border-color: #bcd0f7 !important; background: #f7faff !important; }
.a-btn-danger-outline { color: #dc2626 !important; background: #fff !important; border-color: #fecaca !important; }

.a-ticker {
    background: #ffffff !important;
    border-color: #e7edf5 !important;
    box-shadow: 0 6px 18px rgba(23,43,77,.04);
}
.a-ticker-label { color: #2563eb !important; background: #eef4ff !important; border-color: #dbe7ff !important; }
.a-ticker-track span { color: #7a8899 !important; }
.a-ticker-track b { color: #111827 !important; }
.a-ticker-track em { color: #059669 !important; }
.a-ticker-track span i { background: #2563eb !important; }
.a-ticker-time { color: #94a3b8 !important; }

.a-kpi {
    background: #ffffff !important;
    border-color: #e7edf5 !important;
    box-shadow: 0 8px 26px rgba(23,43,77,.04) !important;
}
.a-kpi-main {
    background: linear-gradient(135deg, #eef5ff, #f8fbff) !important;
    border-color: #dbe8fa !important;
}
.a-kpi-top > span { color: #7a8899 !important; }
.a-kpi-top > em { color: #9aa8b7 !important; }
.a-kpi-top > em.up { color: #2563eb !important; }
.a-kpi > strong, .a-kpi-main > strong { color: #111827 !important; text-shadow: none !important; }
.a-kpi-foot { color: #8a99aa !important; }
.a-kpi-foot b { color: #334155 !important; }
.a-kpi-foot a { color: #2563eb !important; }
.a-kpi-foot .a-warn { color: #d97706 !important; }
.a-kpi-orbit { border-color: #dbe8fa !important; opacity: .7; }
.a-glow-number { color: #1d4ed8 !important; text-shadow: none !important; }

.a-panel {
    background: #ffffff !important;
    border-color: #e7edf5 !important;
    box-shadow: 0 8px 26px rgba(23,43,77,.04) !important;
}
.a-panel-head { border-bottom-color: #eef2f7 !important; }
.a-panel-kicker { color: #94a3b8 !important; }
.a-panel-head h3 { color: #111827 !important; }
.a-panel-link { color: #64748b !important; }
.a-panel-link:hover { color: #2563eb !important; }
.a-panel-desc { color: #7a8899 !important; }
.a-chart-legend { color: #7a8899 !important; }
.a-chart-total span { color: #7a8899 !important; }
.a-chart-total strong { color: #111827 !important; }
.a-chart-total em { color: #8a99aa !important; }
.a-chart svg text { fill: #8a99aa !important; }
.a-chart svg line { stroke: #e8eef6 !important; }
.a-chart svg rect { fill: #dbe8f8 !important; opacity: 1 !important; }
.a-chart svg circle { fill: #fff !important; }
.a-lg-line { background: #2563eb !important; }
.a-lg-bar { background: #cfe0f5 !important; }
.a-live-badge { color: #059669 !important; border-color: #bbf7d0 !important; background: #ecfdf5 !important; }
.a-live-badge i { background: #10b981 !important; }
.a-flow-list::-webkit-scrollbar-thumb { background: #dbe5f0 !important; }
.a-flow-item { border-bottom-color: #eef2f7 !important; }
.a-flow-avatar { background: #eef4ff !important; color: #1d4ed8 !important; }
.a-flow-item strong { color: #111827 !important; }
.a-flow-item em { color: #94a3b8 !important; }
.a-flow-amount strong { color: #059669 !important; }
.a-flow-amount span { color: #8a99aa !important; }
.a-empty-mini { color: #94a3b8 !important; }
.a-rank-row { border-bottom-color: #eef2f7 !important; }
.a-rank-row:hover { background: #f8fbff !important; }
.a-rank-no { color: #94a3b8 !important; }
.a-rank-no.is-top { color: #2563eb !important; }
.a-rank-name strong { color: #111827 !important; }
.a-rank-name em { color: #94a3b8 !important; }
.a-rank-bar { background: #eef3f9 !important; }
.a-rank-bar i { background: linear-gradient(90deg, #93c5fd, #2563eb) !important; }
.a-rank-gmv { color: #111827 !important; }
.a-channel-row { border-bottom-color: #eef2f7 !important; }
.a-channel-row strong { color: #111827 !important; }
.a-channel-row em { color: #94a3b8 !important; }
.a-channel-volume { color: #334155 !important; }
.a-channel-icon { background: #f1f5fb !important; color: #64748b !important; }
.a-channel-icon.is-on { background: #e8f0ff !important; color: #2563eb !important; }
.a-asset-list > div { border-bottom-color: #eef2f7 !important; }
.a-asset-list span { color: #7a8899 !important; }
.a-asset-list strong { color: #111827 !important; }
.a-asset-list strong.teal { color: #059669 !important; }
.a-asset-list em { color: #94a3b8 !important; }
.a-asset-mini { color: #8a99aa !important; border-top-color: #eef2f7 !important; }
.a-table th { color: #94a3b8 !important; background: #f8fafd !important; border-bottom-color: #e7edf5 !important; }
.a-table td { color: #52657a !important; border-bottom-color: #eef3f8 !important; }
.a-table tbody tr:hover td { background: #f8fbff !important; }
.a-table td strong, .a-table .a-strong { color: #111827 !important; }
.a-muted { color: #94a3b8 !important; }
.a-risk { background: #fff1f0 !important; color: #dc2626 !important; }
.a-safe { background: #ecfdf5 !important; color: #059669 !important; }
.a-row-arrow { border-color: #e7edf5 !important; color: #64748b !important; background: #fff !important; }
.a-badge, .a-pill, .a-tag { background: #f1f5fb !important; color: #475569 !important; }
.a-filter-panel { background: #fff !important; border-color: #e7edf5 !important; }
.a-search { background: #f8fafd !important; border-color: #e1e9f2 !important; }
.a-search input { color: #111827 !important; }
.a-search .icon { color: #94a3b8 !important; }
.a-select { background-color: #f8fafd !important; border-color: #e1e9f2 !important; color: #334155 !important; }
.a-field > span { color: #52657a !important; }
.a-field input, .a-field select, .a-field textarea, .a-input-inline {
    background: #f8fafd !important; border-color: #e1e9f2 !important; color: #111827 !important;
}
.a-field input:focus, .a-field select:focus, .a-field textarea:focus {
    background: #fff !important; border-color: #93b4f8 !important; box-shadow: 0 0 0 3px rgba(37,99,235,.08) !important;
}
.a-field input::placeholder, .a-field textarea::placeholder { color: #a2adba !important; }
.a-field-help, .a-hint { color: #8a99aa !important; }
.a-form-actions { border-color: #eef2f7 !important; }
.a-switch { background: #dbe5f0 !important; }
.a-switch.is-on, .a-switch input:checked + span { background: #2563eb !important; }
.a-detail-grid-list span { color: #8a99aa !important; }
.a-detail-grid-list strong { color: #334155 !important; }
.a-detail-side .a-panel-link { border-bottom-color: #eef2f7 !important; }
.a-status-dot { background: #cbd5e1 !important; }
.a-status-dot.on { background: #10b981 !important; box-shadow: none !important; }

/* 地球数据面板 */
.a-earth-hero {
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    min-height: 214px; margin-bottom: 13px; padding: 18px 24px;
    border-radius: 14px; overflow: hidden; position: relative;
    background:
        radial-gradient(520px 260px at 82% 38%, rgba(37, 99, 235, .12), transparent 68%),
        linear-gradient(110deg, #eef5ff, #fbfdff 60%, #f5faff);
    border: 1px solid #dbe8fa;
    box-shadow: 0 12px 34px rgba(23, 43, 77, .05);
}
.a-earth-copy { max-width: 560px; position: relative; z-index: 2; }
.a-earth-copy h3 { font-size: 22px; color: #0f172a; letter-spacing: -.02em; margin: 7px 0 6px; }
.a-earth-copy p { font-size: 10px; color: #64748b; line-height: 1.8; max-width: 460px; }
.a-earth-metrics { display: flex; gap: 28px; margin-top: 16px; }
.a-earth-metrics div { display: flex; flex-direction: column; gap: 2px; }
.a-earth-metrics strong { font-size: 18px; color: #1d4ed8; line-height: 1.2; }
.a-earth-metrics span { font-size: 8px; color: #94a3b8; }
.a-earth-visual { position: relative; width: 230px; height: 230px; flex: 0 0 230px; margin-right: 14px; }
.a-earth-visual img { position: absolute; inset: 18px; width: 194px; height: 194px; animation: aEarthFloat 7s ease-in-out infinite; filter: drop-shadow(0 16px 26px rgba(37, 99, 235, .18)); }
.a-earth-orbit { position: absolute; left: 50%; top: 50%; border: 1px dashed rgba(37, 99, 235, .28); border-radius: 50%; transform: translate(-50%, -50%) rotate(-18deg); }
.a-earth-orbit.orbit-one { width: 218px; height: 128px; animation: aOrbit 18s linear infinite; }
.a-earth-orbit.orbit-two { width: 192px; height: 192px; border-style: solid; border-color: rgba(37, 99, 235, .12); }
.a-earth-node { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: #2563eb; box-shadow: 0 0 0 5px rgba(37, 99, 235, .12); }
.a-earth-node.node-a { left: 30px; top: 62px; }
.a-earth-node.node-b { right: 24px; top: 98px; animation: aPulse 2.6s infinite; }
.a-earth-node.node-c { left: 82px; bottom: 28px; animation: aPulse 3.2s infinite; }
.a-earth-live {
    position: absolute; right: 2px; bottom: 14px;
    display: inline-flex; align-items: center; gap: 5px;
    padding: 4px 9px; border-radius: 999px;
    background: #fff; color: #2563eb; border: 1px solid #dbe8fa;
    font-size: 7px; font-weight: 700; letter-spacing: .08em;
    box-shadow: 0 6px 18px rgba(37, 99, 235, .1);
}
.a-earth-live i { width: 5px; height: 5px; border-radius: 50%; background: #10b981; }
@keyframes aEarthFloat { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes aOrbit { to { transform: translate(-50%, -50%) rotate(342deg); } }
@media (max-width: 980px) {
    .a-earth-hero { min-height: 0; padding: 18px; }
    .a-earth-visual { width: 170px; height: 170px; flex-basis: 170px; }
    .a-earth-visual img { width: 142px; height: 142px; inset: 14px; }
    .a-earth-orbit.orbit-one { width: 160px; height: 96px; }
    .a-earth-orbit.orbit-two { width: 142px; height: 142px; }
}
@media (max-width: 700px) {
    .a-earth-hero { flex-direction: column; align-items: flex-start; }
    .a-earth-visual { align-self: center; margin: 0; }
    .a-earth-metrics { gap: 18px; }
}

/* 页脚简洁 */
.footer-simple { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 4px 0 18px; }
.footer-simple-links { display: flex; flex-wrap: wrap; gap: 20px; font-size: 12.5px; }
.footer-simple-links a { color: #7a8899 !important; }
.footer-simple-links a:hover { color: #2563eb !important; }
.footer-bottom { border-top: 1px solid #eef2f7; padding: 14px 0 0 !important; display: flex; justify-content: space-between; gap: 14px; }

/* 响应式 */
@media (max-width: 980px) {
    .front-body .product-grid, .store-body .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
    .hp-step-grid { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 760px) {
    .front-body .product-grid, .store-body .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 11px !important; }
    .hp-hero .shell { padding: 42px 0 36px; }
    .hp-hero h1 { margin-top: 14px; }
    .hp-search { flex-wrap: nowrap; padding: 6px 6px 6px 13px; border-radius: 14px; }
    .hp-search button { padding: 12px 16px; }
    .hp-filter { align-items: flex-start; flex-direction: column; }
    .hp-sort { width: 100%; justify-content: space-between; }
    .hp-step-grid { grid-template-columns: 1fr; }
    .hp-cta-card { flex-direction: column; align-items: flex-start; padding: 24px; }
    .hp-steps-wrap { padding: 22px; }
    .hp-steps-head { flex-direction: column; align-items: flex-start; }
    .front-body .product-cat { font-size: 9.5px; padding: 3px 7px; }
    .front-body .product-body { padding: 11px 11px 12px !important; }
    .front-body .product-body h3 { font-size: 13px !important; }
    .front-body .product-body > p { display: none; }
    .front-body .product-price strong { font-size: 18px !important; }
    .front-body .product-buy { display: none; }
    .footer-simple { flex-direction: column; align-items: flex-start; }
    .footer-bottom { flex-direction: column; }
    .store-float-actions { right: 10px; }
    .store-float-actions a, .store-float-actions button { width: 62px; font-size: 10px; }
}


/* 商品详情补充 */
.front-body .product-breadcrumb { color: #8a99aa !important; }
.front-body .product-breadcrumb a, .front-body .product-breadcrumb em { color: #64748b !important; }
.front-body .product-main-image { background: #fff !important; border: 1px solid #e7edf5 !important; border-radius: 18px; overflow: hidden; }
.front-body .product-main-image img { width: 100%; }
.front-body .gallery-badge { background: rgba(255,255,255,.92) !important; color: #2563eb !important; border: 1px solid #dbe8fa !important; }
.front-body .product-info { padding: 24px !important; }
.front-body .product-shop-line a { color: #334155 !important; }
.front-body .stock-pill { background: #ecfdf5 !important; color: #059669 !important; border-color: #bbf7d0 !important; }
.front-body .stock-pill.is-low { background: #fff7ed !important; color: #c2410c !important; border-color: #fed7aa !important; }
.front-body .price-panel { background: #f8fafd !important; border: 1px solid #eef3f9 !important; }
.front-body .price-note { color: #64748b !important; }
.front-body .buy-panel { box-shadow: none !important; border: 0 !important; padding: 0 !important; background: transparent !important; }
.front-body .qty-stepper { background: #f8fafd !important; border-color: #e1e9f2 !important; }
.front-body .qty-stepper button { color: #334155 !important; background: #fff !important; }
.front-body .qty-stepper input { color: #111827 !important; }
.front-body .buy-total strong { color: #111827 !important; }
.front-body .shop-mini { background: #f8fafd !important; border-color: #eef3f9 !important; }
.front-body .shop-mini strong { color: #111827 !important; }
.front-body .shop-mini em, .front-body .shop-mini p { color: #8a99aa !important; }
.front-body .detail-card, .front-body .side-card { background: #fff !important; border: 1px solid #e7edf5 !important; box-shadow: 0 8px 26px rgba(23,43,77,.04) !important; }
.front-body .detail-head h2, .front-body .detail-card h2 { color: #111827 !important; }
.front-body .rich-content, .front-body .rich-content p, .front-body .rich-content li { color: #4b5b6e !important; }
.front-body .delivery-note-box { background: #f8fafd !important; border-color: #eef3f9 !important; }
.front-body .delivery-note-box strong { color: #111827 !important; }
.front-body .delivery-note-box p { color: #7a8899 !important; }
.front-body .faq-item { background: #fff !important; border: 1px solid #e7edf5 !important; }
.front-body .faq-item summary { color: #111827 !important; }
.front-body .faq-item p { color: #5b6b7d !important; }
.front-body .side-card h3 { color: #111827 !important; }
.front-body .side-card p { color: #7a8899 !important; }
.front-body .mini-flow li em { color: #8a99aa !important; }
.front-body .mini-flow li strong { color: #334155 !important; }

/* 店铺补充 */
.store-body .store-toolbar { background: #fff !important; border: 1px solid #e7edf5 !important; box-shadow: 0 6px 18px rgba(23,43,77,.03); }
.store-body .store-cats a { color: #5c6b7d !important; }
.store-body .store-cats a.is-active { background: #2563eb !important; color: #fff !important; }
.store-body .store-cats a em { color: inherit !important; opacity: .66; }
.store-body .store-sort a { color: #7a8899 !important; }
.store-body .store-sort a.is-active { background: #eef4ff !important; color: #2563eb !important; }
.store-body .store-hero { border: 1px solid #e7edf5 !important; }
.store-body .store-hero-grid { opacity: .25; }
.store-body .store-verified { background: #eef4ff !important; color: #2563eb !important; border-color: #dbe8fa !important; }
.store-body .store-hero-tags span { background: #f8fafd !important; color: #5b6b7d !important; border-color: #eef3f9 !important; }
.store-body .store-hero-stats div { border-color: #eef3f9 !important; }
.store-body .faq-item { background: #fff !important; border-color: #e7edf5 !important; }
.store-body .faq-item summary { color: #111827 !important; }
.store-body .faq-item p { color: #5b6b7d !important; }

/* 商户页面小标题 */
.m-eyebrow { color: #2563eb !important; }
.m-head-actions .btn-m-ghost { background: #fff !important; }
.m-chart-sum, .m-chart-card { background: #fff; }
.m-chart-sum { border-color: #eef3f8 !important; }


/* 细节修正 */
.front-body .route-skeleton-bar,
.front-body .route-skeleton-grid i { background: linear-gradient(90deg, #e9eff7 25%, #f7fafd 50%, #e9eff7 75%) !important; background-size: 200% 100% !important; }
.front-body .product-cover img { background: #f2f7fd !important; }
.front-body .rich-content pre { background: #f8fafd !important; border-color: #eef3f9 !important; color: #334155 !important; }
.store-body .store-logo, .store-body .store-hero-logo { background: #f8fafd !important; border-color: #e7edf5 !important; }
.auth-body .auth-admin .auth-visual,
.auth-body .auth-merchant .auth-visual {
    background:
        radial-gradient(600px 360px at 80% 8%, rgba(37, 99, 235, .18), transparent 60%),
        linear-gradient(150deg, #eef5ff, #f8fbff) !important;
    color: #111827 !important;
}
.auth-body .auth-admin .auth-panel, .auth-body .auth-merchant .auth-panel { background: #fff !important; color: #111827 !important; }
.auth-body .auth-admin .auth-heading h1, .auth-body .auth-admin .auth-heading p,
.auth-body .auth-admin .auth-panel-top a, .auth-body .auth-admin .auth-options,
.auth-body .auth-admin .auth-safety, .auth-body .auth-admin .auth-copyright { color: #64748b !important; }
.auth-body .auth-admin .auth-heading .eyebrow, .auth-body .auth-admin .auth-heading .eyebrow i { color: #2563eb !important; background: #2563eb !important; }
.auth-body .auth-admin .auth-form .field > span { color: #475569 !important; }
.auth-body .auth-admin .auth-form .field input { background: #f7f9fc !important; border-color: #e1e9f2 !important; color: #111827 !important; }
.auth-body .auth-admin .auth-form .field input:focus { border-color: #93b4f8 !important; box-shadow: 0 0 0 3px rgba(37,99,235,.08) !important; }
.auth-body .auth-admin .auth-form .password-toggle,
.auth-body .auth-admin .auth-form .input-with-icon .icon { color: #94a3b8 !important; }
.auth-body .auth-form .btn-primary,
.auth-body .auth-admin .auth-form .btn-primary { background: #2563eb !important; color: #fff !important; box-shadow: 0 10px 24px rgba(37,99,235,.2) !important; }
.auth-body .auth-panel-top a { color: #64748b !important; }


/* 简化：前台不再悬浮客服按钮，店铺内保留联系/投诉 */
.front-body .support-fab { display: none !important; }


.m-balance-mini { background: #e8eef7 !important; }
.m-balance-mini div { background: #ffffff !important; }
.m-balance-mini span { color: #8a99aa !important; }
.m-balance-mini strong { color: #111827 !important; }


/* 店铺数据条 / 商品详情背景 */
.store-body .store-hero-stats { background: #e8eef7 !important; border-color: #e7edf5 !important; }
.store-body .store-hero-stats div { background: #f8fafd !important; }
.store-body .store-hero-stats strong { color: #111827 !important; }
.store-body .store-hero-stats span { color: #8a99aa !important; }
.store-body .store-float-actions { top: 56%; }
.front-body .product-detail-section { background: transparent !important; border-top-color: #e7edf5 !important; }


/* 结算商品块 */
.front-body .checkout-product { background: #f8fafd !important; border: 1px solid #eef3f9 !important; color: #111827 !important; }
.front-body .checkout-product strong, .front-body .checkout-product b { color: #111827 !important; }
.front-body .checkout-product p, .front-body .checkout-product span, .front-body .checkout-product em { color: #7a8899 !important; }

/* 平台后台：订单统计条 / 设置代码块 / 开关 */
.a-mini-stats { background: #e7edf5 !important; border-color: #e7edf5 !important; }
.a-mini-stats div { background: #ffffff !important; }
.a-mini-stats span { color: #8a99aa !important; }
.a-mini-stats strong { color: #111827 !important; }
.a-mini-stats .warn strong { color: #d97706 !important; }
.a-mini-stats .risk strong { color: #dc2626 !important; }
.a-callback-box { background: #f8fafd !important; border-color: #e7edf5 !important; }
.a-callback-box span { color: #8a99aa !important; }
.a-callback-box code { color: #1d4ed8 !important; }
.a-toggle { color: #64748b !important; }
.a-toggle-track { background: #e2e8f0 !important; border-color: #cbd5e1 !important; }
.a-toggle-track::after { background: #fff !important; box-shadow: 0 1px 3px rgba(15,23,42,.18) !important; }
.a-toggle input:checked + .a-toggle-track { background: #2563eb !important; border-color: #2563eb !important; }
.a-toggle input:checked + .a-toggle-track::after { background: #fff !important; box-shadow: none !important; }

/* 店铺浮动按钮靠下，避免遮挡分类 */
.store-body .store-float-actions { top: auto !important; bottom: 92px !important; right: 14px !important; }


/* 登录页标题 / 指标 */
.auth-body .auth-panel .auth-heading h1,
.auth-body .auth-visual .auth-heading h1 { color: #0f172a !important; }
.auth-body .auth-panel .auth-heading p,
.auth-body .auth-visual .auth-heading p { color: #64748b !important; }
.auth-body .auth-visual .auth-metrics strong { color: #111827 !important; }
.auth-body .auth-visual .auth-metrics span { color: #64748b !important; }
.auth-body .auth-heading .eyebrow { color: #2563eb !important; }
.auth-body .auth-heading .eyebrow i { background: #2563eb !important; }


/* 登录页分隔线与链接 */
.auth-body .auth-safety { border-color: #e7edf5 !important; }
.auth-body .auth-form a, .auth-body .auth-alt a { color: #2563eb !important; }
.auth-body input[type="checkbox"] { accent-color: #2563eb; }


.auth-body .auth-safety { border: 0 !important; padding-top: 10px; }
.auth-body .auth-form, .auth-body .auth-form-wrap { border: 0 !important; background: transparent !important; }


/* ---------------- 手机端：店铺页 tab / 概览 ---------------- */
.m-scroll-tabs { display: none; }
.m-shop-overview { display: grid; grid-template-columns: 1.15fr .85fr; gap: 12px; margin-bottom: 14px; }
.m-shop-panel { padding: 15px; }
.m-mini-order-list { display: flex; flex-direction: column; }
.m-mini-order { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 0; border-bottom: 1px solid #eef3f8; }
.m-mini-order:last-child { border-bottom: 0; }
.m-mini-order-main { display: flex; flex-direction: column; min-width: 0; }
.m-mini-order-main strong { font-family: var(--m-mono); font-size: 10px; color: #334155; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-mini-order-main em { font-style: normal; font-size: 9px; color: #94a3b8; margin-top: 2px; }
.m-mini-order-side { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex: 0 0 auto; }
.m-mini-order-side > strong { font-size: 11px; color: #111827; }
.m-mini-stock-list { display: flex; flex-direction: column; }
.m-mini-stock { display: flex; align-items: center; gap: 9px; padding: 8px 0; border-bottom: 1px solid #eef3f8; }
.m-mini-stock:last-child { border-bottom: 0; }
.m-mini-stock img { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; background: #f1f5fb; }
.m-mini-stock span { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.m-mini-stock strong { font-size: 10.5px; color: #334155; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-mini-stock em { font-style: normal; font-size: 9px; color: #d97706; }
.m-mini-stock > a { font-size: 10px; color: #2563eb; border: 1px solid #dbe8fa; background: #f4f8ff; border-radius: 7px; padding: 4px 7px; }
.m-shop-overview .m-card-head { margin-bottom: 4px; }

@media (max-width: 760px) {
    .m-scroll-tabs {
        display: flex; align-items: center; gap: 7px;
        overflow-x: auto; overflow-y: hidden;
        margin: 0 0 10px; padding: 2px 0 5px;
        scrollbar-width: none; -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        cursor: grab;
    }
    .m-scroll-tabs::-webkit-scrollbar { display: none; }
    .m-scroll-tabs.is-dragging { cursor: grabbing; }
    .m-scroll-tabs button {
        flex: 0 0 auto; display: inline-flex; align-items: center; gap: 5px;
        padding: 7px 11px; border-radius: 999px;
        background: #fff; border: 1px solid #e6edf5; color: #64748b;
        font-size: 11px; font-weight: 600; white-space: nowrap;
        scroll-snap-align: start;
    }
    .m-scroll-tabs button .icon { width: 14px; height: 14px; }
    .m-scroll-tabs button.is-active { background: #2563eb; border-color: #2563eb; color: #fff; }
    .m-tab-panel { display: none; }
    .m-tab-panel.is-active { display: block; }
    .m-page-head { margin-bottom: 10px; }
    .m-page-head h2 { font-size: 19px; }
    .m-page-head p { font-size: 10px; line-height: 1.55; }
    .m-page-head .m-head-actions { display: none; }
    .m-shop-overview { grid-template-columns: 1fr; gap: 9px; margin-bottom: 10px; }
    .m-shop-panel { padding: 12px; }
    .m-shop-panel .m-card-head h3 { font-size: 13.5px; }
    .m-shop-panel .m-card-head p { display: none; }
    .m-mini-order { padding: 8px 0; }
    .m-mini-order-main strong { font-size: 9.5px; }
    .m-mini-order-main em { font-size: 8.5px; }
    .m-mini-order-side > strong { font-size: 11px; }
    .m-mini-stock { padding: 7px 0; }
    .m-mini-stock img { width: 32px; height: 32px; }
    .m-mini-stock strong { font-size: 10px; }

    /* 店铺设置压缩 */
    .m-content { padding: 10px 10px 92px !important; }
    .m-form-card { padding: 12px !important; border-radius: 14px !important; }
    .m-form-card .m-card-head { margin-bottom: 9px; }
    .m-form-card .m-card-head h3 { font-size: 14px; }
    .m-form-card .m-card-head p { font-size: 9.5px; }
    .m-store-profile { padding: 8px; gap: 9px; margin-bottom: 9px; }
    .m-logo-uploader { width: 54px; height: 54px; border-radius: 13px; }
    .m-store-profile-info strong { font-size: 12px; }
    .m-store-profile-info span, .m-store-profile-info em { font-size: 8.5px; }
    .m-form-card .field { margin-bottom: 8px; }
    .m-form-card .field > span { font-size: 10px; }
    .m-form-card .field input, .m-form-card .field select, .m-form-card .field textarea {
        padding: 8px 10px; font-size: 12px; border-radius: 8px;
    }
    .m-form-card .field textarea { min-height: 58px; }
    .m-form-card .form-row { gap: 8px; margin-bottom: 8px; }
    .m-form-card .btn-m { padding: 9px 12px; font-size: 11px; }
    .m-settings-grid { gap: 9px; margin-bottom: 10px; }
    .m-settings-side { gap: 9px; }
    .m-settle-row { padding: 7px 0; font-size: 10.5px; }
    .m-tip-card { padding: 12px; }
    .m-tip-card h4 { font-size: 12px; }
    .m-tip-card p { font-size: 10px; }
}


/* 手机端首页紧凑：数据在店铺管理上方，隐藏图表和大块底部 */
@media (max-width: 760px) {
    .m-dashboard-grid { display: none !important; }
    .m-profile-card { padding: 12px; gap: 10px; border-radius: 14px; margin-bottom: 9px; }
    .m-profile-avatar { width: 46px; height: 46px; border-radius: 13px; }
    .m-profile-info h2 { font-size: 15px; }
    .m-profile-info p { font-size: 9.5px; margin-top: 2px; }
    .m-profile-status { font-size: 8.5px; padding: 2px 6px; margin-top: 3px; }
    .m-profile-link { width: 30px; height: 30px; }
    .m-page-head[style] { margin-top: 10px !important; }
    .m-page-head h2 { font-size: 18px; }
    .m-page-head .m-eyebrow { font-size: 8px; }
    .m-stats { gap: 8px !important; margin-bottom: 9px !important; }
    .m-stat { padding: 10px !important; border-radius: 13px !important; gap: 8px !important; }
    .m-stat-icon { width: 28px; height: 28px; border-radius: 8px; }
    .m-stat-icon .icon { width: 14px; height: 14px; }
    .m-stat-meta > span { font-size: 8px; }
    .m-stat-meta strong { font-size: 17px !important; margin: 1px 0 !important; }
    .m-stat-meta em { font-size: 7.5px; white-space: normal; line-height: 1.4; }
    .m-stat-spark { display: none; }
    .m-stat-link { font-size: 8px; }
    .m-quick-card { margin-top: 10px !important; padding: 12px !important; border-radius: 14px !important; }
    .m-quick-head { margin-bottom: 8px; }
    .m-quick-head h3 { font-size: 13.5px; }
    .m-quick-head a { font-size: 9.5px; }
    .m-quick-grid { gap: 6px; }
    .m-quick-grid a { padding: 9px 4px; border-radius: 11px; font-size: 10px; gap: 5px; }
    .m-quick-icon { width: 32px; height: 32px; border-radius: 9px; }
    .m-quick-icon .icon { width: 16px; height: 16px; }
    .m-appbar { position: sticky; }
    .m-appbar-inner { padding: 9px 12px; }
    .m-appbar-logo { width: 36px; height: 36px; border-radius: 11px; }
    .m-appbar-name strong { font-size: 12.5px; }
    .m-appbar-name span { font-size: 9px; }
    .m-appbar-balance strong { font-size: 12.5px; }
    .m-appbar-icon { width: 30px; height: 30px; }
    .m-bottom-nav { bottom: 9px; padding: 5px; border-radius: 17px; }
    .m-bottom-nav a { padding: 6px 4px 5px; font-size: 9.5px; }
}


/* ---------------- 手机端前台：紧凑、一屏更多 ---------------- */
@media (max-width: 760px) {
    .hp-hero .shell { padding: 28px 0 24px; }
    .hp-kicker { padding: 5px 10px; font-size: 10px; }
    .hp-hero h1 { margin: 12px 0 7px; font-size: 30px; line-height: 1.14; letter-spacing: -.035em; }
    .hp-hero .hp-lead { font-size: 12.5px; line-height: 1.7; }
    .hp-search { margin-top: 17px; padding: 5px 5px 5px 12px; border-radius: 12px; box-shadow: 0 10px 24px rgba(30,64,120,.08); }
    .hp-search > .icon { width: 18px; height: 18px; }
    .hp-search input { font-size: 13px; padding: 9px 0; }
    .hp-search button { padding: 10px 15px; border-radius: 9px; font-size: 12px; }
    .hp-hot { margin-top: 10px; gap: 5px 10px; font-size: 11px; }
    .hp-trust { margin-top: 15px; gap: 10px; font-size: 10.5px; }
    .hp-trust .icon { width: 13px; height: 13px; }
    .hp-goods { padding: 18px 0 8px; }
    .hp-filter { gap: 8px; margin-bottom: 10px; }
    .hp-cats { gap: 5px; }
    .hp-cats a { padding: 6px 10px; font-size: 11px; }
    .hp-cats a em { font-size: 9px; }
    .hp-sort { display: none !important; }
    .hp-result { margin: 1px 0 9px; font-size: 10.5px; }
    .hp-filter-banner { padding: 8px 11px; font-size: 10.5px; }
    .front-body .product-grid, .store-body .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 9px !important; }
    .front-body .product-card, .store-body .product-card { border-radius: 12px !important; }
    .front-body .product-cover, .store-body .product-cover { aspect-ratio: 1 / 1; }
    .front-body .product-cat, .store-body .product-cat { font-size: 8px; padding: 3px 6px; border-radius: 6px; }
    .front-body .product-soldout, .store-body .product-soldout { font-size: 8px; padding: 3px 6px; }
    .front-body .product-body, .store-body .product-body { padding: 8px 9px 9px !important; }
    .front-body .product-body h3, .store-body .product-body h3 { font-size: 12px !important; line-height: 1.4; height: 33px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
    .front-body .product-body > p, .store-body .product-body > p { display: none !important; }
    .front-body .product-meta, .store-body .product-meta { margin-top: 5px; font-size: 8.5px; gap: 4px; }
    .front-body .product-meta span, .store-body .product-meta span { font-size: 8.5px; }
    .front-body .product-price-row, .store-body .product-price-row { margin-top: 5px; }
    .front-body .product-price strong, .store-body .product-price strong { font-size: 16px !important; }
    .front-body .product-price small, .store-body .product-price small { font-size: 10px; }
    .front-body .product-price del, .store-body .product-price del { font-size: 9px; }
    .front-body .product-buy, .store-body .product-buy { display: none !important; }
    .hp-steps { padding: 16px 0 8px; }
    .hp-steps-wrap { padding: 16px 14px; border-radius: 15px; }
    .hp-steps-head { margin-bottom: 12px; gap: 8px; }
    .hp-steps-head h2 { font-size: 19px; }
    .hp-steps-head p { font-size: 10.5px; }
    .hp-steps-head .btn { padding: 8px 10px; font-size: 10px; }
    .hp-step-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
    .hp-step { padding: 10px 8px; border-radius: 11px; }
    .hp-step i { width: 22px; height: 22px; border-radius: 7px; font-size: 9px; margin-bottom: 7px; }
    .hp-step h3 { font-size: 11px; margin-bottom: 3px; }
    .hp-step p { font-size: 9.5px; line-height: 1.55; }
    .hp-cta { padding: 4px 0 26px; }
    .hp-cta-card { padding: 15px 16px; border-radius: 15px; gap: 10px; }
    .hp-cta-card h2 { font-size: 17px; }
    .hp-cta-card p { font-size: 10.5px; margin-top: 3px; }
    .hp-cta-card .btn { padding: 9px 13px; font-size: 11px; }

    /* 店铺头图：统计改成头像右侧的小数字 */
    .store-body .store-hero-inner { display: block; position: relative; padding: 17px 0 15px; }
    .store-body .store-hero-profile { flex-direction: row; align-items: flex-start; gap: 9px; padding-right: 92px; }
    .store-body .store-hero-logo { width: 52px; height: 52px; border-radius: 14px; box-shadow: 0 8px 20px rgba(23,43,77,.08); }
    .store-body .store-hero-profile h1 { font-size: 21px; margin: 5px 0 3px; letter-spacing: -.03em; }
    .store-body .store-hero-profile p { font-size: 10px; line-height: 1.6; }
    .store-body .store-verified { font-size: 8px; padding: 2px 6px; }
    .store-body .store-hero-tags { gap: 5px 8px; margin-top: 7px; }
    .store-body .store-hero-tags span { font-size: 8px; }
    .store-body .store-hero-tags .icon { width: 10px; height: 10px; }
    .store-body .store-hero-stats {
        position: absolute; right: 0; top: 16px;
        width: auto; display: flex; gap: 8px;
        border: 0 !important; background: transparent !important; overflow: visible; border-radius: 0;
    }
    .store-body .store-hero-stats div { min-width: 0; padding: 0 !important; background: transparent !important; text-align: center; }
    .store-body .store-hero-stats strong { font-size: 13px; color: #111827 !important; }
    .store-body .store-hero-stats span { font-size: 7px; color: #8a99aa !important; }
    .store-body .store-sort { display: none !important; }
    .store-body .store-toolbar-inner { min-height: 0; padding: 9px 0; gap: 7px; }
    .store-body .store-cats a { font-size: 10px; padding: 5px 9px; }
    .store-body .store-goods { padding-top: 15px; }
    .store-body .store-goods .section-head { margin-bottom: 10px; }
    .store-body .store-goods .section-head h2 { font-size: 19px; }
    .store-body .store-goods .section-head p { font-size: 10px; }
    .store-body .store-footer-inner { padding: 14px 0 8px; }
    .store-body .store-footer-brand img { width: 32px; height: 32px; border-radius: 9px; }
    .store-body .store-footer-brand strong { font-size: 11px; }
    .store-body .store-footer-brand p { font-size: 9px; }
    .store-body .store-footer-links { gap: 10px; font-size: 9px; margin-top: 9px; }
    .store-body .store-footer-bottom { font-size: 8px; margin-top: 9px; }
    .store-body .store-float-actions { bottom: 14px !important; right: 8px !important; gap: 5px; }
    .store-body .store-float-actions a, .store-body .store-float-actions button { width: 54px; min-height: 38px; padding: 5px 4px; font-size: 8.5px; border-radius: 9px; }
    .store-body .store-float-actions .icon { width: 14px; height: 14px; }

    /* 商品详情紧凑 */
    .front-body .product-info { padding: 14px !important; border-radius: 14px !important; }
    .front-body .product-info h1 { font-size: 21px !important; }
    .front-body .product-info .product-subtitle { font-size: 10.5px; }
    .front-body .price-panel { padding: 10px 12px; margin: 10px 0; }
    .front-body .price-main strong { font-size: 28px; }
    .front-body .buy-panel .buy-row { gap: 8px; }
    .front-body .qty-stepper { height: 32px; }
    .front-body .product-main-image { border-radius: 14px; }
    .front-body .product-breadcrumb { font-size: 9px; }
    .front-body .detail-card { padding: 14px !important; border-radius: 14px !important; }
}


/* 手机端：商品再紧凑一档，店铺统计只保留商品/成交 */
@media (max-width: 760px) {
    .front-body .product-grid, .store-body .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; gap: 7px !important; }
    .front-body .product-body, .store-body .product-body { padding: 7px 7px 8px !important; }
    .front-body .product-body h3, .store-body .product-body h3 { font-size: 11px !important; height: 30px; line-height: 1.35; }
    .front-body .product-cat, .store-body .product-cat { font-size: 7px; padding: 2px 5px; }
    .front-body .product-meta, .store-body .product-meta { font-size: 7.5px; gap: 2px; margin-top: 4px; }
    .front-body .product-meta span, .store-body .product-meta span { font-size: 7.5px; }
    .front-body .product-price strong, .store-body .product-price strong { font-size: 14px !important; }
    .front-body .product-price small, .store-body .product-price small { font-size: 9px; }
    .front-body .product-price del, .store-body .product-price del { display: none; }
    .store-body .store-hero-stats { right: 6px !important; gap: 11px !important; }
    .store-body .store-hero-stats div:nth-child(3) { display: none !important; }
    .store-body .store-hero-profile { padding-right: 68px !important; }
}


/* 手机端店铺资料：成对字段保持两列，进一步压缩高度 */
@media (max-width: 760px) {
    .m-form-card .form-row.two { grid-template-columns: 1fr 1fr !important; }
    .m-form-card .form-row.two .field input { min-width: 0; }
    .m-form-card .m-store-profile { margin-bottom: 8px; }
}


/* ---------------- 商户移动端：商品 / 订单 / 库存 / 分类 / 编辑 ---------------- */
.m-cat-scroll { display: flex; gap: 6px; overflow-x: auto; padding: 2px 0 9px; margin-bottom: 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; cursor: grab; }
.m-cat-scroll::-webkit-scrollbar { display: none; }
.m-cat-scroll a { flex: 0 0 auto; padding: 6px 11px; border-radius: 999px; background: #fff; border: 1px solid #e7edf5; color: #64748b; font-size: 11px; font-weight: 600; }
.m-cat-scroll a.is-active { background: #2563eb; border-color: #2563eb; color: #fff; }
.m-product-tabs { margin-bottom: 9px !important; }
.m-product-toolbar { padding: 9px 10px !important; }
.m-product-toolbar .m-filters { gap: 6px; }
.m-product-list { background: #fff; border: 1px solid #e8eef6; border-radius: 15px; overflow: hidden; }
.m-product-item { display: flex; gap: 10px; padding: 11px 10px; border-bottom: 1px solid #eef3f8; }
.m-product-item:last-of-type { border-bottom: 0; }
.m-product-thumb { width: 76px; height: 76px; border-radius: 10px; overflow: hidden; flex: 0 0 auto; background: #f2f7fd; }
.m-product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.m-product-info { flex: 1; min-width: 0; }
.m-product-tagline { display: flex; align-items: center; gap: 4px; flex-wrap: wrap; margin-bottom: 4px; }
.m-soft-tag { display: inline-flex; align-items: center; padding: 2px 6px; border-radius: 5px; background: #f1f5fb; color: #64748b; font-size: 8px; line-height: 1.5; }
.m-soft-tag.blue { background: #eaf2ff; color: #2563eb; }
.m-product-title { display: block; color: #111827; font-size: 12.5px; font-weight: 650; line-height: 1.45; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.m-product-price { color: #d97706; font-size: 14px; font-weight: 750; margin-top: 3px; }
.m-product-price del { color: #a8b4c2; font-size: 9px; font-weight: 400; margin-left: 4px; }
.m-product-meta { display: flex; gap: 9px; color: #94a3b8; font-size: 8.5px; margin-top: 2px; }
.m-product-meta .is-low { color: #dc2626; }
.m-product-actions { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; margin-top: 7px; }
.m-product-actions > a:not(.m-mini-btn), .m-product-actions > form button.m-mini-btn { border: 0; background: transparent; padding: 0; color: #2563eb; font-size: 9.5px; }
.m-product-actions > a:first-child, .m-product-actions > a:nth-child(2) { font-weight: 650; }
.m-product-actions form { margin: 0; }
.m-mini-btn { display: inline-flex; align-items: center; justify-content: center; border-radius: 7px; border: 1px solid #e3eaf3; background: #f8fafc; color: #475569; font-size: 9.5px; padding: 4px 9px; line-height: 1.3; cursor: pointer; }
.m-mini-btn.primary { border-color: #2563eb; background: #2563eb; color: #fff; }
.m-product-actions .m-mini-btn { margin-left: auto; }
.m-product-actions form .m-mini-btn { margin-left: 0; }

/* 订单卡片 */
.m-order-list { display: flex; flex-direction: column; gap: 8px; }
.m-order-card { background: #fff; border: 1px solid #e8eef6; border-radius: 14px; padding: 11px 12px; }
.m-order-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.m-order-no { border: 0; background: transparent; padding: 0; color: #334155; font-family: var(--m-mono, monospace); font-size: 10.5px; cursor: pointer; text-align: left; }
.m-order-product { display: flex; align-items: center; gap: 6px; min-width: 0; color: #334155; font-size: 11.5px; padding: 7px 8px; background: #f8fafc; border-radius: 8px; }
.m-order-product > span:nth-child(2) { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.m-order-product em { font-style: normal; color: #94a3b8; font-size: 9px; }
.m-order-bottom { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; margin-top: 9px; }
.m-order-money { display: flex; flex-direction: column; }
.m-order-money strong { color: #d97706; font-size: 16px; line-height: 1.2; }
.m-order-money em { font-style: normal; color: #a0adbb; font-size: 8.5px; margin-top: 2px; }
.m-order-detail { color: #2563eb; font-size: 10.5px; font-weight: 600; }

/* 库存卡片 */
.m-card-list { display: flex; flex-direction: column; gap: 8px; }
.m-stock-item { background: #fff; border: 1px solid #e8eef6; border-radius: 13px; padding: 11px 12px; }
.m-stock-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.m-stock-top code { color: #334155; font-size: 11px; letter-spacing: .02em; }
.m-stock-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 10px; margin-top: 8px; }
.m-stock-meta span { display: flex; align-items: baseline; gap: 4px; min-width: 0; color: #64748b; font-size: 9.5px; }
.m-stock-meta em { font-style: normal; color: #a0adbb; font-size: 8px; flex: 0 0 auto; }
.m-stock-meta a { color: #2563eb; }
.m-stock-actions { display: flex; justify-content: flex-end; margin-top: 6px; padding-top: 6px; border-top: 1px solid #f1f5f9; }

/* 分类页 */
.m-cat-create { padding: 10px; margin-bottom: 10px; }
.m-cat-create-form { display: flex; gap: 7px; }
.m-cat-create-form input { flex: 1; min-width: 0; border: 1px solid #e1e9f2; background: #f8fafd; border-radius: 9px; padding: 9px 11px; font-size: 12px; color: #111827; outline: 0; }
.m-cat-create-form input:focus { border-color: #93b4f8; background: #fff; }
.m-cat-list-cards { gap: 0; background: #fff; border: 1px solid #e8eef6; border-radius: 14px; overflow: hidden; }
.m-cat-item { padding: 12px; border-bottom: 1px solid #eef3f8; }
.m-cat-item:last-child { border-bottom: 0; }
.m-cat-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.m-cat-name { display: flex; flex-direction: column; }
.m-cat-name strong { color: #111827; font-size: 13px; }
.m-cat-name span { color: #94a3b8; font-size: 9.5px; margin-top: 2px; }
.m-toggle { width: 38px; height: 22px; border-radius: 999px; border: 0; background: #dbe3ee; padding: 2px; position: relative; cursor: pointer; }
.m-toggle i { display: block; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(15,23,42,.16); transition: transform .18s; }
.m-toggle.is-on { background: #2563eb; }
.m-toggle.is-on i { transform: translateX(16px); }
.m-cat-actions { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.m-cat-edit summary { list-style: none; font-size: 10px; color: #2563eb; cursor: pointer; }
.m-cat-edit summary::-webkit-details-marker { display: none; }
.m-cat-edit form { display: flex; gap: 6px; margin-top: 7px; }
.m-cat-edit input { min-width: 0; width: 145px; border: 1px solid #e1e9f2; background: #f8fafd; border-radius: 7px; padding: 6px 8px; font-size: 11px; }
.m-cat-locked { color: #a0adbb; font-size: 9px; }
.m-cat-switch-form { margin: 0; }

/* 商品编辑 */
.m-editor-head { margin-bottom: 10px; }
.m-editor-head .m-back { font-size: 10px; color: #64748b; }
.m-editor-head h2 { font-size: 20px; margin-top: 5px; }
.m-product-editor { display: flex; flex-direction: column; gap: 9px; }
.m-editor-card { padding: 12px !important; border-radius: 14px !important; }
.m-editor-card .field { margin-bottom: 10px; }
.m-editor-card .field:last-child { margin-bottom: 0; }
.m-editor-price-row { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 7px; }
.m-editor-price-row .field { margin-bottom: 0; }
.m-editor-price-row input { font-size: 12px !important; }
.m-editor-label { font-size: 11px; font-weight: 650; color: #475569; margin-bottom: 7px; }
.m-cover-box { width: 122px; height: 122px; border-radius: 12px; }
.m-bg-box { width: 100%; height: 90px; border-radius: 10px; }
.m-editor-card .rich-toolbar { overflow-x: auto; flex-wrap: nowrap; }
.m-editor-card .rich-canvas { min-height: 150px; max-height: 300px; overflow-y: auto; font-size: 12px; }
.m-editor-more { padding: 0 !important; border-radius: 14px !important; overflow: hidden; }
.m-editor-more > summary { list-style: none; padding: 13px 14px; color: #334155; font-size: 12px; font-weight: 650; cursor: pointer; }
.m-editor-more > summary::-webkit-details-marker { display: none; }
.m-editor-more > summary::after { content: '+'; float: right; color: #94a3b8; }
.m-editor-more[open] > summary::after { content: '−'; }
.m-editor-more-body { padding: 0 14px 14px; border-top: 1px solid #eef3f8; }
.m-editor-more-body .field { margin-top: 10px; }
.m-editor-submit { display: flex; flex-direction: column; gap: 7px; padding: 4px 0 10px; }

/* 提现二维码 */
.m-qr-upload { width: 112px; height: 112px; border-radius: 11px; }
.m-qr-upload img { width: 100%; height: 100%; object-fit: contain; background: #f8fafc; }
.m-qr-link { display: inline-block; margin-left: 5px; font-size: 9px; color: #2563eb; }
.a-qr-thumb { width: 38px; height: 38px; object-fit: contain; border-radius: 5px; border: 1px solid #e7edf5; background: #fff; }

/* 数据卡：手机端一行四个正方形 */
@media (max-width: 760px) {
    .m-stats { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; gap: 6px !important; }
    .m-stat {
        aspect-ratio: 1 / 1; padding: 7px 4px !important; border-radius: 11px !important;
        flex-direction: column; align-items: center; justify-content: center;
        text-align: center; gap: 3px !important; overflow: hidden;
    }
    .m-stat-icon { width: 22px !important; height: 22px !important; border-radius: 6px !important; }
    .m-stat-icon .icon { width: 12px !important; height: 12px !important; }
    .m-stat-meta { width: 100%; }
    .m-stat-meta > span { font-size: 7px !important; line-height: 1.25; }
    .m-stat-meta strong { font-size: 14px !important; line-height: 1.2; margin: 1px 0 !important; white-space: nowrap; }
    .m-stat-meta em, .m-stat-link, .m-stat-spark { display: none !important; }
    .m-stat-icon.tone-orange, .m-stat-icon.tone-violet { margin: 0; }
    .m-card-list, .m-product-list, .m-order-list { margin-bottom: 4px; }
    .m-product-item { padding: 10px 9px; gap: 8px; }
    .m-product-thumb { width: 68px; height: 68px; }
    .m-product-title { font-size: 12px; }
    .m-product-actions { margin-top: 5px; }
    .m-product-actions > a:not(.m-mini-btn), .m-product-actions form button { font-size: 9px; }
    .m-mini-btn { font-size: 9px; padding: 3px 7px; }
    .m-order-card { padding: 10px; }
    .m-order-no { font-size: 10px; }
    .m-order-product { font-size: 11px; }
    .m-order-money strong { font-size: 15px; }
    .m-editor-price-row { gap: 5px; }
    .m-editor-price-row .field > span { font-size: 9.5px; }
    .m-editor-price-row .field-help { display: none; }
    .m-cover-box { width: 100px; height: 100px; }
}


/* 安卓移动端禁止缩放 */
html, body.m-body { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; touch-action: manipulation; }
.m-body input, .m-body select, .m-body textarea { font-size: 16px; }
@media (max-width: 760px) {
    .m-body input, .m-body select, .m-body textarea { font-size: 12px; }
}


/* 商品/库存页保留顶部操作按钮，仅首页收起 */
@media (max-width: 760px) {
    .m-page-head .m-head-actions { display: flex !important; flex-wrap: wrap; gap: 6px; }
    .m-page-head .m-head-actions .btn-m { padding: 7px 10px; font-size: 10px; border-radius: 8px; }
    .m-dashboard-head .m-head-actions { display: none !important; }
    .m-product-editor { padding-bottom: 28px; }
    .m-editor-submit { padding-bottom: 22px; }
    .m-card-withdraw { padding-bottom: 34px !important; }
}


@media (max-width: 760px) {
    .m-money-input button { white-space: nowrap; padding: 0 9px !important; font-size: 10px !important; min-width: 38px; }
    .m-withdraw-form { padding-bottom: 8px; }
    .m-withdraw-form .btn-block { margin-top: 4px; }
}
