/* =========================================================
   211云寄售 · 白色主题
   前台 / 商户后台 / 平台后台统一浅色视觉
   ========================================================= */

/* ---------------- 前台：基础白 ---------------- */
.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; }
}


/* 店铺公告开关 */
.m-notice-toggle { display: flex; align-items: flex-start; gap: 9px; margin: 2px 0 12px; cursor: pointer; }
.m-notice-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.m-notice-switch { width: 38px; height: 22px; border-radius: 999px; background: #dbe3ee; padding: 2px; flex: 0 0 auto; transition: background .18s; }
.m-notice-switch 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-notice-toggle input:checked + .m-notice-switch { background: #2563eb; }
.m-notice-toggle input:checked + .m-notice-switch i { transform: translateX(16px); }
.m-notice-toggle > span:last-child { display: flex; flex-direction: column; gap: 1px; }
.m-notice-toggle strong { font-size: 10.5px; color: #334155; font-weight: 650; }
.m-notice-toggle em { font-style: normal; font-size: 8.5px; color: #94a3b8; }
@media (max-width: 760px) {
    .m-notice-toggle { margin-bottom: 9px; }
    .m-notice-toggle strong { font-size: 9.5px; }
    .m-notice-toggle em { font-size: 8px; }
}

/* 后台提现审核方式 */
.a-audit-mode { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 15px 17px; margin-bottom: 13px; }
.a-audit-mode h3 { font-size: 13px; color: #111827; margin: 4px 0 4px; }
.a-audit-mode p { font-size: 9px; color: #7a8899; line-height: 1.6; max-width: 720px; }
.a-audit-mode form { flex: 0 0 auto; margin: 0; }
@media (max-width: 760px) {
    .a-audit-mode { flex-direction: column; align-items: flex-start; gap: 10px; }
}


/* 钱包 */
.m-wallet-hero {
    position: relative; overflow: hidden;
    border-radius: 18px; padding: 16px 17px 14px;
    background: linear-gradient(135deg, #1d4ed8, #2f7cf6 58%, #38a9f8);
    color: #fff; box-shadow: 0 14px 34px rgba(37, 99, 235, .22);
    margin-bottom: 9px;
}
.m-wallet-hero::after { content: ""; position: absolute; right: -34px; top: -54px; width: 150px; height: 150px; border-radius: 50%; border: 18px solid rgba(255,255,255,.08); }
.m-wallet-hero-top { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 10px; color: rgba(255,255,255,.78); }
.m-wallet-hero-top a { display: inline-flex; align-items: center; gap: 4px; padding: 5px 9px; border-radius: 8px; background: rgba(255,255,255,.16); color: #fff; font-size: 9.5px; }
.m-wallet-hero > strong { position: relative; z-index: 1; display: block; font-size: 32px; line-height: 1.2; letter-spacing: -.03em; margin: 7px 0 8px; font-weight: 750; }
.m-wallet-hero-foot { position: relative; z-index: 1; display: flex; gap: 18px; font-size: 9px; color: rgba(255,255,255,.7); }
.m-wallet-hero-foot b { color: #fff; font-weight: 600; margin-left: 3px; }
.m-wallet-stats .m-stat { background: #fff !important; }
.m-wallet-stats .m-stat:nth-child(1) { background: linear-gradient(150deg, #eef5ff, #fff) !important; }
.m-wallet-stats .m-stat:nth-child(2) { background: linear-gradient(150deg, #eafbf5, #fff) !important; }
.m-wallet-stats .m-stat:nth-child(3) { background: linear-gradient(150deg, #fff8ea, #fff) !important; }
.m-wallet-stats .m-stat:nth-child(4) { background: linear-gradient(150deg, #f3efff, #fff) !important; }
@media (max-width: 760px) {
    .m-wallet-hero { border-radius: 14px; padding: 13px 14px 12px; margin-bottom: 7px; }
    .m-wallet-hero > strong { font-size: 27px; margin: 5px 0 6px; }
    .m-wallet-hero-foot { gap: 13px; font-size: 8px; }
    .m-wallet-stats .m-stat { border: 0 !important; }
}


.a-settle-actions { display: flex; align-items: center; gap: 4px; }
.a-settle-actions form { margin: 0; }
.a-settle-done { display: inline-flex; padding: 2px 6px; border-radius: 5px; background: #ecfdf5; color: #059669; font-size: 8px; }
.a-settle-reject { display: inline-flex; padding: 2px 6px; border-radius: 5px; background: #fff1f0; color: #dc2626; font-size: 8px; }


.m-method-choice { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.m-method-choice label { position: relative; cursor: pointer; }
.m-method-choice input { position: absolute; opacity: 0; pointer-events: none; }
.m-method-choice span { display: flex; align-items: center; justify-content: center; height: 37px; border: 1px solid #e1e9f2; border-radius: 8px; background: #f8fafd; color: #64748b; font-size: 11px; }
.m-method-choice input:checked + span { border-color: #2563eb; background: #eef4ff; color: #2563eb; font-weight: 650; }


/* 店铺链接复制 */
.m-store-link-bar { display: flex; align-items: center; gap: 7px; padding: 8px 10px; margin: -2px 0 9px; background: #fff; border: 1px solid #e8eef6; border-radius: 10px; }
.m-store-link-bar > span { flex: 0 0 auto; font-size: 9px; color: #8a99aa; }
.m-store-link-bar code { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 9.5px; color: #475569; }
.m-store-link-bar button, .m-store-link-bar a { flex: 0 0 auto; border: 1px solid #dbe8fa; background: #f4f8ff; color: #2563eb; border-radius: 6px; padding: 4px 7px; font-size: 9px; cursor: pointer; }
@media (max-width: 760px) {
    .m-store-link-bar { padding: 7px 8px; gap: 5px; }
    .m-store-link-bar > span { display: none; }
    .m-store-link-bar code { font-size: 9px; }
    .m-store-link-bar button, .m-store-link-bar a { padding: 3px 6px; font-size: 8px; }
}


@media (max-width: 760px) {
    .m-money-input button { white-space: nowrap !important; min-width: 46px !important; width: auto !important; }
}


/* 钱包提现：禁止页面横向拖动，提现表单再缩小 */
html, body.m-body { overflow-x: hidden !important; }
.m-app { max-width: 100vw; overflow-x: hidden; }
@media (max-width: 760px) {
    .m-card-withdraw { padding: 10px 10px 12px !important; border-radius: 13px !important; }
    .m-card-withdraw .m-card-head { margin-bottom: 6px; padding-bottom: 0; }
    .m-card-withdraw .m-card-head h3 { font-size: 13px; }
    .m-card-withdraw .m-card-head p { display: none; }
    .m-card-withdraw .m-secure { font-size: 7px; }
    .m-card-withdraw .field { margin-bottom: 6px; gap: 4px; }
    .m-card-withdraw .field > span { font-size: 9px; }
    .m-card-withdraw .field input,
    .m-card-withdraw .field select { height: 32px; padding: 6px 8px; font-size: 11px; }
    .m-card-withdraw .field-help { font-size: 7px; margin-top: 1px; }
    .m-money-input { height: 32px; }
    .m-money-input em { padding-left: 8px; }
    .m-money-input input { height: 30px; font-size: 12px; }
    .m-money-input button { height: 24px; font-size: 8.5px !important; min-width: 38px !important; }
    .m-card-withdraw .form-row.two { grid-template-columns: 1fr !important; gap: 5px !important; margin-bottom: 5px; }
    .m-method-choice span { height: 30px; font-size: 10px; }
    .m-qr-upload { width: 76px; height: 76px; border-radius: 9px; }
    .m-summary-help, .m-card-withdraw .btn-block { margin-top: 2px; }
    .m-card-withdraw .btn-block { padding: 9px; font-size: 11px; }
    .m-finance-grid { gap: 8px !important; }
}


/* 9:16 手机端：提现区进一步缩小，两列紧凑，无横向滚动 */
@media (max-width: 760px) {
    .m-page-head .m-eyebrow { font-size: 7.5px; }
    .m-page-head h2 { font-size: 18px; margin: 2px 0; }
    .m-page-head p { font-size: 9px; line-height: 1.45; }
    .m-page-head .btn-m { padding: 6px 9px; font-size: 9px; }
    .m-wallet-hero { padding: 10px 12px 9px; margin-bottom: 6px; }
    .m-wallet-hero > strong { font-size: 24px; margin: 4px 0 4px; }
    .m-wallet-hero-top { font-size: 9px; }
    .m-wallet-hero-top a { padding: 4px 7px; font-size: 8.5px; }
    .m-wallet-hero-foot { font-size: 7.5px; }
    .m-wallet-stats { gap: 5px !important; }
    .m-wallet-stats .m-stat { padding: 5px 3px !important; }
    .m-wallet-stats .m-stat-meta strong { font-size: 12px !important; }
    .m-wallet-stats .m-stat-meta > span { font-size: 6.5px !important; }
    .m-card-withdraw .form-row.two { grid-template-columns: 1fr 1fr !important; gap: 5px !important; }
    .m-card-withdraw .field { margin-bottom: 5px; }
    .m-card-withdraw .m-qr-upload { width: 62px; height: 62px; }
    .m-card-withdraw .field-help { font-size: 6.5px; }
    .m-card-withdraw .btn-block { padding: 8px; font-size: 10.5px; }
}


/* 手机端提现弹层 */
.m-withdraw-entry, .m-withdraw-close, .m-withdraw-backdrop { display: none; }
.m-wallet-withdraw-btn { border: 0; border-radius: 8px; padding: 5px 9px; background: rgba(255,255,255,.16); color: #fff; font-size: 9.5px; cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.m-wallet-withdraw-btn .icon { width: 12px; height: 12px; }
@media (max-width: 760px) {
    .m-withdraw-entry {
        display: flex; align-items: center; justify-content: space-between; gap: 8px;
        width: 100%; border: 1px solid #dbe8fa; border-radius: 11px;
        background: #fff; color: #2563eb; padding: 9px 12px; margin: 0 0 7px;
        font-size: 11px; font-weight: 650;
    }
    .m-withdraw-entry span { display: inline-flex; align-items: center; gap: 5px; }
    .m-withdraw-entry .icon { width: 15px; height: 15px; }
    .m-withdraw-entry em { font-style: normal; font-size: 9px; color: #8a99aa; font-weight: 400; }
    .m-card-withdraw { display: none; }
    .m-card-withdraw.is-open {
        display: block; position: fixed; z-index: 130; inset: 8px 8px 8px;
        max-height: calc(100vh - 16px); overflow-y: auto;
        background: #f7f9fc; border-radius: 16px; padding: 14px 13px 26px !important;
        box-shadow: 0 24px 70px rgba(15,23,42,.28);
    }
    .m-card-withdraw.is-open .m-card-head { padding-right: 26px; }
    .m-card-withdraw.is-open .form-row.two { grid-template-columns: 1fr !important; }
    .m-withdraw-close {
        display: grid; place-items: center; position: absolute; top: 10px; right: 10px;
        width: 26px; height: 26px; border-radius: 50%; border: 1px solid #e1e9f2;
        background: #fff; color: #64748b; font-size: 17px; line-height: 1; z-index: 2;
    }
    .m-withdraw-backdrop.is-open {
        display: block; position: fixed; inset: 0; z-index: 125;
        background: rgba(15,23,42,.42); backdrop-filter: blur(4px);
    }
    body.m-withdraw-open { overflow: hidden !important; }
}


/* 提现记录按钮 / 流水类型小按钮 */
.m-small-btn { border: 1px solid #dbe8fa; background: #f4f8ff; color: #2563eb; border-radius: 7px; padding: 5px 9px; font-size: 9.5px; cursor: pointer; white-space: nowrap; }
.m-small-btn:active { transform: translateY(1px); }
.m-flow-buttons { display: flex; flex-wrap: wrap; gap: 6px; margin: 2px 0 9px; }
.m-flow-buttons a { flex: 0 0 auto; padding: 6px 10px; border-radius: 8px; background: #fff; border: 1px solid #e6edf5; color: #64748b; font-size: 9.5px; }
.m-flow-buttons a.is-active { background: #2563eb; border-color: #2563eb; color: #fff; font-weight: 600; }
.m-collapse-card .m-card-head { margin-bottom: 0; }
.m-collapse-card [hidden] { display: none !important; }
@media (max-width: 760px) {
    .m-small-btn { padding: 4px 8px; font-size: 8.5px; }
    .m-flow-buttons { gap: 5px; }
    .m-flow-buttons a { padding: 5px 8px; font-size: 8.5px; }
    .m-collapse-card { padding: 11px 12px; }
}


/* ---------------- 商品下单页 / 简化结算 ---------------- */
.product-express { max-width: 720px; padding: 16px 0 12px; }
.pexp-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.pexp-back { display: inline-flex; align-items: center; gap: 4px; color: #64748b; font-size: 11px; }
.pexp-stock { font-size: 10px; color: #059669; background: #ecfdf5; border-radius: 999px; padding: 4px 9px; }
.pexp-stock.is-out { color: #dc2626; background: #fff1f0; }
.pexp-card { background: #fff; border: 1px solid #e7edf5; border-radius: 18px; overflow: hidden; box-shadow: 0 12px 34px rgba(23,43,77,.06); }
.pexp-media { background: #f2f7fd; aspect-ratio: 16 / 10; overflow: hidden; }
.pexp-media img { width: 100%; height: 100%; object-fit: cover; }
.pexp-info { padding: 18px 18px 20px; }
.pexp-cat { display: inline-flex; padding: 3px 8px; border-radius: 6px; background: #eef4ff; color: #2563eb; font-size: 9px; }
.pexp-info h1 { color: #111827; font-size: 24px; line-height: 1.35; letter-spacing: -.03em; margin: 9px 0 4px; }
.pexp-sub { color: #7a8899; font-size: 12px; line-height: 1.7; }
.pexp-price { display: flex; align-items: baseline; gap: 4px; margin: 12px 0; color: #111827; }
.pexp-price small { font-size: 15px; }
.pexp-price strong { font-size: 32px; letter-spacing: -.04em; line-height: 1; }
.pexp-price del { color: #a8b4c2; font-size: 12px; margin-left: 6px; }
.pexp-usage { background: #f8fafd; border: 1px solid #eef3f9; border-radius: 11px; padding: 11px 12px; margin-bottom: 13px; }
.pexp-usage h2 { color: #334155; font-size: 11px; font-weight: 700; margin-bottom: 4px; }
.pexp-usage p { color: #7a8899; font-size: 10.5px; line-height: 1.75; }
.pexp-trust { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.pexp-trust span { display: inline-flex; align-items: center; gap: 4px; border: 1px solid #e7edf5; background: #fff; border-radius: 7px; padding: 5px 8px; color: #64748b; font-size: 9px; }
.pexp-trust .icon { width: 12px; height: 12px; color: #2563eb; }
.pexp-desktop-buy { display: inline-flex; align-items: center; justify-content: center; gap: 6px; width: 100%; border-radius: 11px; background: #2563eb; color: #fff; padding: 13px; font-size: 13px; font-weight: 700; }
.pexp-buybar { display: none; }

/* 简化结算 */
.checkout-express { max-width: 560px; padding: 14px 0 30px; }
.cex-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 9px; }
.cex-top a { color: #64748b; font-size: 10.5px; }
.cex-top > span { color: #059669; font-size: 9px; }
.cex-product { display: flex; align-items: center; gap: 9px; background: #fff; border: 1px solid #e7edf5; border-radius: 13px; padding: 10px; margin-bottom: 8px; }
.cex-product img { width: 52px; height: 52px; border-radius: 9px; object-fit: cover; background: #f2f7fd; flex: 0 0 auto; }
.cex-product > div { flex: 1; min-width: 0; }
.cex-shop { font-size: 8px; color: #94a3b8; }
.cex-product h1 { font-size: 12.5px; color: #111827; line-height: 1.4; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.cex-product p { font-size: 8.5px; color: #94a3b8; margin-top: 2px; }
.cex-product > strong { color: #111827; font-size: 15px; flex: 0 0 auto; }
.cex-form { background: #fff; border: 1px solid #e7edf5; border-radius: 13px; padding: 12px; }
.cex-block { padding: 0 0 10px; margin-bottom: 9px; border-bottom: 1px solid #eef3f8; }
.cex-label { font-size: 10px; font-weight: 650; color: #475569; margin-bottom: 6px; }
.cex-contact .contact-tabs { display: flex; gap: 5px; margin-bottom: 7px; }
.cex-contact .contact-tab { flex: 1; border: 1px solid #e1e9f2; background: #f8fafd; border-radius: 7px; padding: 6px 4px; text-align: center; font-size: 9px; color: #64748b; cursor: pointer; }
.cex-contact .contact-tab input { position: absolute; opacity: 0; }
.cex-contact .contact-tab.is-active { border-color: #93b4f8; background: #eef4ff; color: #2563eb; font-weight: 650; }
.cex-contact .field { margin-bottom: 0; }
.cex-contact .field > span { font-size: 9px; }
.cex-contact .field input { height: 34px; padding: 6px 9px; font-size: 12px; }
.cex-contact .field-help { font-size: 8px; color: #94a3b8; margin-top: 2px; }
.cex-pay { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.cex-pay-option { position: relative; display: flex; align-items: center; justify-content: center; border: 1px solid #e1e9f2; background: #f8fafd; border-radius: 8px; min-height: 34px; font-size: 10px; color: #64748b; cursor: pointer; }
.cex-pay-option input { position: absolute; opacity: 0; }
.cex-pay-option.is-selected { border-color: #93b4f8; background: #eef4ff; color: #2563eb; font-weight: 650; }
.cex-pay-option em { font-style: normal; font-size: 7px; margin-left: 3px; color: #f59e0b; }
.cex-alert { background: #fff7ed; color: #c2410c; padding: 9px; border-radius: 8px; font-size: 10px; }
.cex-agree { display: flex; align-items: flex-start; gap: 6px; color: #8a99aa; font-size: 8.5px; line-height: 1.5; margin: 2px 0 9px; cursor: pointer; }
.cex-agree input { margin-top: 1px; accent-color: #2563eb; }
.cex-submit { width: 100%; border: 0; border-radius: 10px; background: #2563eb; color: #fff; min-height: 44px; display: flex; align-items: center; justify-content: space-between; padding: 0 15px; font-size: 13px; font-weight: 700; cursor: pointer; }
.cex-submit span { display: inline-flex; align-items: baseline; gap: 5px; }
.cex-submit strong { font-size: 16px; }
.cex-submit:disabled { background: #cbd5e1; }

@media (max-width: 760px) {
    .product-express { padding: 11px 0 86px; }
    .pexp-top { margin-bottom: 7px; }
    .pexp-back, .pexp-stock { font-size: 9px; }
    .pexp-card { border-radius: 14px; }
    .pexp-media { aspect-ratio: 4 / 3; }
    .pexp-info { padding: 12px 12px 14px; }
    .pexp-info h1 { font-size: 20px; margin: 7px 0 3px; }
    .pexp-sub { font-size: 10.5px; }
    .pexp-price { margin: 8px 0; }
    .pexp-price strong { font-size: 27px; }
    .pexp-usage { padding: 8px 9px; margin-bottom: 8px; }
    .pexp-usage h2 { font-size: 9.5px; }
    .pexp-usage p { font-size: 9.5px; line-height: 1.65; }
    .pexp-trust { gap: 4px; margin-bottom: 0; }
    .pexp-trust span { padding: 4px 6px; font-size: 8px; border-radius: 6px; }
    .pexp-desktop-buy { display: none; }
    .pexp-buybar {
        display: flex; align-items: center; justify-content: space-between; gap: 10px;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
        padding: 9px 14px calc(9px + env(safe-area-inset-bottom));
        background: rgba(255,255,255,.97); border-top: 1px solid #e7edf5;
        box-shadow: 0 -8px 28px rgba(23,43,77,.08); backdrop-filter: blur(14px);
    }
    .pexp-buybar span { display: flex; align-items: baseline; gap: 4px; }
    .pexp-buybar em { font-style: normal; font-size: 8.5px; color: #94a3b8; }
    .pexp-buybar strong { color: #111827; font-size: 20px; }
    .pexp-buybar b { display: inline-flex; align-items: center; gap: 4px; padding: 11px 18px; border-radius: 10px; background: #2563eb; color: #fff; font-size: 12px; font-weight: 700; }
    .pexp-buybar.is-disabled b { background: #cbd5e1; }
    .pexp-buybar .icon { width: 14px; height: 14px; }
    .checkout-express { padding: 10px 0 18px; }
    .cex-top { margin-bottom: 7px; }
    .cex-product { padding: 8px; gap: 8px; border-radius: 11px; }
    .cex-product img { width: 44px; height: 44px; }
    .cex-product h1 { font-size: 11.5px; }
    .cex-product > strong { font-size: 13px; }
    .cex-form { padding: 10px; border-radius: 11px; }
    .cex-block { padding-bottom: 8px; margin-bottom: 7px; }
    .cex-label { font-size: 9.5px; margin-bottom: 5px; }
    .cex-contact .field input { height: 32px; }
    .cex-submit { min-height: 40px; font-size: 12px; }
}


/* 支付完成页：只显示卡密 */
.order-delivery-simple { max-width: 760px; margin: 8px auto 30px; padding: 18px !important; }
.order-delivery-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.order-delivery-kicker { font-size: 8px; color: #059669; letter-spacing: .08em; }
.order-delivery-head h2 { font-size: 22px; color: #111827; margin: 3px 0 1px; }
.order-delivery-head p { font-size: 10px; color: #8a99aa; }
.secret-actions { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.secret-action { display: inline-flex; align-items: center; gap: 4px; border: 1px solid #dbe8fa; background: #f4f8ff; color: #2563eb; border-radius: 8px; padding: 7px 10px; font-size: 10px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.secret-action .icon { width: 13px; height: 13px; }
.secret-action.copy { border-color: #2563eb; background: #2563eb; color: #fff; }
.order-delivery-simple .secret-list { margin-top: 3px; }
.order-delivery-simple .secret-item { border-radius: 10px; }
.order-delivery-simple .secret-content { font-size: 13px; }
.order-delivery-tip { display: flex; align-items: center; gap: 5px; margin-top: 10px; color: #8a99aa; font-size: 9px; line-height: 1.6; }
.order-delivery-tip .icon { width: 13px; height: 13px; color: #2563eb; flex: 0 0 auto; }
@media (max-width: 760px) {
    .order-delivery-simple { margin: 5px auto 18px; padding: 13px !important; border-radius: 14px; }
    .order-delivery-head { flex-direction: column; gap: 8px; }
    .order-delivery-head h2 { font-size: 19px; }
    .secret-actions { width: 100%; justify-content: flex-start; }
    .secret-action { padding: 6px 9px; font-size: 9px; }
    .order-delivery-simple .secret-content { font-size: 12px; }
    .order-delivery-simple .secret-item { padding: 10px; }
    .order-delivery-simple .copy-btn { font-size: 9px; padding: 5px 7px; }
}


/* 卡密交付卡片白底 */
.order-delivery-simple .secret-item { background: #f8fafd !important; border: 1px solid #e7edf5 !important; color: #111827 !important; }
.order-delivery-simple .secret-index { color: #94a3b8 !important; }
.order-delivery-simple .secret-content { background: transparent !important; border: 0 !important; color: #0f172a !important; }
.order-delivery-simple .copy-btn { background: #eef4ff !important; border-color: #dbe8fa !important; color: #2563eb !important; }
.order-delivery-simple .copy-btn .icon { color: #2563eb !important; }
.order-delivery-simple .secret-watermark span { color: rgba(37,99,235,.08) !important; }

.m-shop-overview.single { grid-template-columns: 1fr; }


/* 联系商家 QQ 弹层 */
.seller-contact-modal { position: fixed; inset: 0; z-index: 121; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(15,23,42,.45); backdrop-filter: blur(10px); }
.seller-contact-modal.is-open { display: flex; }
.seller-contact-dialog { position: relative; width: min(360px, 100%); background: #fff; border-radius: 18px; padding: 22px; box-shadow: 0 26px 80px rgba(15,23,42,.24); }
.seller-contact-dialog h3 { display: flex; align-items: center; gap: 7px; font-size: 18px; color: #111827; }
.seller-contact-dialog h3 .icon { width: 19px; height: 19px; color: #2563eb; }
.seller-contact-dialog > p { margin-top: 6px; font-size: 11px; line-height: 1.7; color: #7a8899; }
.seller-contact-close { position: absolute; top: 13px; right: 13px; width: 30px; height: 30px; border: 1px solid #e7edf5; border-radius: 50%; background: #f8fafc; color: #64748b; font-size: 17px; line-height: 1; }
.seller-qq-box { display: flex; flex-direction: column; align-items: center; gap: 3px; margin: 15px 0 12px; padding: 14px; border: 1px dashed #cfdbea; border-radius: 12px; background: #f8fafd; }
.seller-qq-box span { font-size: 9px; color: #94a3b8; }
.seller-qq-box strong { font-family: var(--mono, monospace); font-size: 23px; color: #111827; letter-spacing: .02em; }
.seller-contact-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; }
.seller-contact-actions button, .seller-contact-actions a { display: flex; align-items: center; justify-content: center; gap: 4px; min-height: 36px; border-radius: 8px; border: 1px solid #dbe8fa; background: #f4f8ff; color: #2563eb; font-size: 11px; font-weight: 600; cursor: pointer; }
.seller-contact-actions button { background: #2563eb; border-color: #2563eb; color: #fff; }
.seller-contact-actions .icon { width: 13px; height: 13px; }


/* 钱包 -> 资金流水入口 */
.m-flow-entry { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 8px; padding: 11px 13px; background: #fff; border: 1px solid #e8eef6; border-radius: 12px; box-shadow: 0 6px 18px rgba(23,43,77,.04); }
.m-flow-entry > span { display: inline-flex; align-items: center; gap: 6px; color: #111827; font-size: 11.5px; font-weight: 650; }
.m-flow-entry > span .icon { width: 16px; height: 16px; color: #2563eb; }
.m-flow-entry em { display: inline-flex; align-items: center; gap: 4px; font-style: normal; color: #8a99aa; font-size: 9px; }
.m-flow-entry em .icon { width: 12px; height: 12px; }
.m-flow-page { margin-top: 0; }
@media (max-width: 760px) {
    .m-flow-entry { padding: 9px 10px; margin-top: 7px; border-radius: 10px; }
    .m-flow-entry > span { font-size: 10.5px; }
    .m-flow-entry em { font-size: 8px; }
}


/* 悬浮联系/投诉按钮：右侧上下拖动 */
.store-float-actions { touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.store-float-actions.is-dragging { cursor: grabbing; }
.store-body .store-float-actions.is-dragged { top: var(--float-top, 56%) !important; bottom: auto !important; }

/* 联系方式/订单号 查询结果 */
.query-results-shell { max-width: 620px; padding: 24px 0 40px; }
.query-results-head .back-link { display: inline-flex; margin-bottom: 12px; color: #64748b; font-size: 10px; }
.query-results-head h1 { font-size: 25px; color: #111827; margin: 4px 0; letter-spacing: -.03em; }
.query-results-head p { color: #7a8899; font-size: 11px; }
.query-result-list { display: grid; gap: 7px; margin-top: 15px; }
.query-result-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 13px; background: #fff; border: 1px solid #e7edf5; border-radius: 12px; box-shadow: 0 5px 16px rgba(23,43,77,.04); }
.query-result-main { min-width: 0; }
.query-result-status { display: inline-flex; margin-bottom: 4px; }
.query-result-main strong { display: block; color: #1e293b; font-size: 12px; line-height: 1.4; }
.query-result-main em { display: block; color: #94a3b8; font-style: normal; font-size: 9px; margin-top: 2px; }
.query-result-side { display: flex; align-items: center; gap: 7px; flex: 0 0 auto; }
.query-result-side strong { color: #111827; font-size: 14px; }
.query-result-side .icon { width: 14px; height: 14px; color: #2563eb; }
.query-results-tip { display: flex; align-items: center; gap: 5px; margin-top: 14px; color: #94a3b8; font-size: 9px; }
.query-results-tip .icon { width: 13px; height: 13px; color: #2563eb; flex: 0 0 auto; }
@media (max-width: 760px) {
    .query-results-shell { padding: 15px 0 25px; }
    .query-results-head h1 { font-size: 21px; }
    .query-result-card { padding: 10px 11px; }
    .query-result-main strong { font-size: 11px; }
    .query-result-side strong { font-size: 13px; }
}


/* 首页：简单推广页 */
.hp-hero-simple { padding-bottom: 34px; }
.hp-hero-actions { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin: 18px 0 16px; }
.hp-query-btn { display: inline-flex; align-items: center; gap: 6px; padding: 12px 18px; border-radius: 10px; background: #2563eb; color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 8px 22px rgba(37,99,235,.22); }
.hp-query-btn .icon { width: 16px; height: 16px; }
.hp-apply-link { display: inline-flex; align-items: center; gap: 4px; padding: 11px 15px; border: 1px solid #dbe8fa; border-radius: 10px; background: #fff; color: #2563eb; font-size: 11px; font-weight: 600; }
.hp-apply-link .icon { width: 13px; height: 13px; }
.hp-hero-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-width: 430px; margin-top: 20px; }
.hp-hero-metrics div { padding: 10px 12px; border: 1px solid #e7edf5; border-radius: 10px; background: rgba(255,255,255,.8); }
.hp-hero-metrics strong { display: block; color: #111827; font-size: 19px; letter-spacing: -.03em; }
.hp-hero-metrics span { color: #94a3b8; font-size: 8.5px; }
.hp-simple-features { padding: 34px 0; background: #fff; border-top: 1px solid #eef3f9; border-bottom: 1px solid #eef3f9; }
.hp-simple-head { text-align: center; margin-bottom: 20px; }
.hp-simple-head h2 { color: #111827; font-size: 24px; letter-spacing: -.03em; margin: 4px 0; }
.hp-simple-head p { color: #8a99aa; font-size: 11px; }
.hp-feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hp-feature-grid article { padding: 18px; border: 1px solid #e7edf5; border-radius: 13px; background: #f8fafd; }
.hp-feature-grid article > span { display: grid; place-items: center; width: 32px; height: 32px; border-radius: 9px; background: #eef4ff; color: #2563eb; margin-bottom: 9px; }
.hp-feature-grid article > span .icon { width: 17px; height: 17px; }
.hp-feature-grid h3 { color: #1e293b; font-size: 13px; margin-bottom: 3px; }
.hp-feature-grid p { color: #8a99aa; font-size: 10px; line-height: 1.65; }
@media (max-width: 760px) {
    .hp-hero-simple { padding: 30px 0 24px; }
    .hp-hero-simple h1 { font-size: 30px; }
    .hp-hero-actions { margin: 14px 0 12px; gap: 8px; }
    .hp-query-btn { padding: 10px 15px; font-size: 12px; }
    .hp-apply-link { padding: 9px 12px; font-size: 10px; }
    .hp-hero-metrics { margin-top: 15px; gap: 6px; }
    .hp-hero-metrics div { padding: 8px 9px; }
    .hp-hero-metrics strong { font-size: 16px; }
    .hp-hero-metrics span { font-size: 7.5px; }
    .hp-simple-features { padding: 24px 0; }
    .hp-simple-head { text-align: left; margin-bottom: 13px; }
    .hp-simple-head h2 { font-size: 20px; }
    .hp-simple-head p { font-size: 10px; }
    .hp-feature-grid { grid-template-columns: 1fr 1fr 1fr; gap: 6px; }
    .hp-feature-grid article { padding: 10px 8px; border-radius: 10px; }
    .hp-feature-grid article > span { width: 26px; height: 26px; margin-bottom: 6px; }
    .hp-feature-grid h3 { font-size: 10px; }
    .hp-feature-grid p { font-size: 8.5px; line-height: 1.55; }
}

.m-admin-impersonate { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 6px 14px; background: #111827; color: #e5edf7; font-size: 9px; }
.m-admin-impersonate span { display: inline-flex; align-items: center; gap: 5px; }
.m-admin-impersonate a { color: #93c5fd; font-weight: 600; }
.a-inline-form { display: inline-flex; margin: 0; }


/* ---------------- 总后台：整体字号放大 ---------------- */
.a-body { font-size: 15px !important; }
.a-body .a-brand strong { font-size: 15px !important; }
.a-body .a-brand em { font-size: 8px !important; }
.a-body .a-side-status { font-size: 8.5px !important; }
.a-body .a-nav-label { font-size: 9.5px !important; letter-spacing: .14em; }
.a-body .a-nav a { font-size: 13px !important; padding: 10px 11px !important; }
.a-body .a-nav-icon { width: 25px !important; height: 25px !important; }
.a-body .a-nav-icon .icon { width: 17px !important; height: 17px !important; }
.a-body .a-sidebar-foot > a { font-size: 10.5px !important; }
.a-body .a-admin-card strong { font-size: 12px !important; }
.a-body .a-admin-card em { font-size: 10px !important; }
.a-body .a-avatar { width: 31px !important; height: 31px !important; font-size: 12px !important; }
.a-body .a-top-title > span { font-size: 9px !important; }
.a-body .a-top-title h1 { font-size: 18px !important; }
.a-body .a-clock span { font-size: 14px !important; }
.a-body .a-clock em { font-size: 8.5px !important; }
.a-body .a-pulse { font-size: 8.5px !important; }
.a-body .a-top-action { font-size: 10px !important; }
.a-body .a-page-head h2 { font-size: 32px !important; }
.a-body .a-page-head p { font-size: 13.5px !important; line-height: 1.7; }
.a-body .a-kicker { font-size: 10px !important; }
.a-body .a-back { font-size: 11.5px !important; }
.a-body .a-mini-stats span { font-size: 11.5px !important; }
.a-body .a-mini-stats strong { font-size: 25px !important; }
.a-body .a-panel-head h3, .a-body .a-panel h3 { font-size: 17px !important; }
.a-body .a-panel-kicker { font-size: 9.5px !important; }
.a-body .a-panel-desc, .a-body .a-panel p { font-size: 12px !important; }
.a-body .a-table { font-size: 13px !important; }
.a-body .a-table th { font-size: 12px !important; padding: 11px 10px !important; }
.a-body .a-table td { font-size: 13px !important; padding: 12px 10px !important; }
.a-body .a-table .mono, .a-body .mono { font-size: 12px !important; }
.a-body .a-btn { font-size: 12.5px !important; }
.a-body .a-btn.btn-sm, .a-body .btn-sm { font-size: 11.5px !important; }
.a-body .a-tabs a { font-size: 12.5px !important; }
.a-body .a-tabs a em { font-size: 9px !important; }
.a-body .a-search input, .a-body .a-input, .a-body .a-select, .a-body .a-field input, .a-body .a-field select, .a-body .a-field textarea { font-size: 13.5px !important; }
.a-body .a-search input { height: 40px !important; }
.a-body .a-field > span { font-size: 12px !important; }
.a-body .a-field-help, .a-body .a-hint { font-size: 10.5px !important; }
.a-body .a-muted, .a-body .a-block.a-muted, .a-body .a-table .a-muted { font-size: 11.5px !important; }
.a-body .a-strong { font-size: 13.5px !important; }
.a-body .a-badge, .a-body .a-tag { font-size: 10.5px !important; }
.a-body .a-pagination, .a-body .pagination { font-size: 12px !important; }
.a-body .a-empty h4 { font-size: 16px !important; }
.a-body .a-empty p { font-size: 12px !important; }
.a-body .a-footer { font-size: 10.5px !important; }
.a-body .a-form-actions .a-btn { font-size: 13px !important; }
.a-body .a-readonly { font-size: 13px !important; }
.a-body .a-audit-mode h3 { font-size: 17px !important; }
.a-body .a-audit-mode p { font-size: 12px !important; }
.a-body .a-row-arrow .icon { width: 17px !important; height: 17px !important; }
.a-body .a-merchant-cell a { font-size: 13px !important; }
.a-body .a-merchant-cell em { font-size: 10.5px !important; }
@media (max-width: 900px) {
    .a-body .a-page-head h2 { font-size: 26px !important; }
    .a-body .a-mini-stats strong { font-size: 21px !important; }
}

.a-row-actions { display: flex; align-items: center; gap: 5px; }
.a-row-actions form { margin: 0; }
.a-row-login { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid #dbe8fa; border-radius: 7px; background: #f4f8ff; color: #2563eb; cursor: pointer; }
.a-row-login .icon { width: 14px; height: 14px; }


/* 货源广场 / 分销管理 */
.m-source-banner { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 9px; padding: 14px 15px; }
.m-source-banner h3 { font-size: 15px; color: #111827; margin: 3px 0; }
.m-source-banner p { font-size: 10px; color: #8a99aa; line-height: 1.7; max-width: 520px; }
.m-source-banner > a { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; color: #2563eb; font-size: 9px; }
.m-source-search { display: flex; gap: 7px; margin-bottom: 10px; }
.m-source-search label { flex: 1; display: flex; align-items: center; gap: 6px; background: #fff; border: 1px solid #e7edf5; border-radius: 9px; padding: 0 10px; }
.m-source-search .icon { width: 15px; height: 15px; color: #94a3b8; }
.m-source-search input { flex: 1; border: 0; outline: 0; height: 36px; font-size: 11px; background: transparent; }
.m-source-search .btn-m { flex: 0 0 auto; }
.m-source-tip { margin-bottom: 9px; padding: 8px 10px; background: #fff7ed; color: #c2410c; border: 1px solid #fed7aa; border-radius: 8px; font-size: 9px; }
.m-source-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.m-source-card { background: #fff; border: 1px solid #e7edf5; border-radius: 13px; overflow: hidden; box-shadow: 0 5px 16px rgba(23,43,77,.04); }
.m-source-cover { display: block; aspect-ratio: 16/10; background: #f2f7fd; }
.m-source-cover img { width: 100%; height: 100%; object-fit: cover; }
.m-source-body { padding: 10px 11px 12px; }
.m-source-shop { font-size: 8px; color: #94a3b8; }
.m-source-body h3 { font-size: 12px; line-height: 1.4; margin: 2px 0 4px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.m-source-body h3 a { color: #1e293b; }
.m-source-body p { font-size: 9px; color: #8a99aa; line-height: 1.6; min-height: 29px; }
.m-source-meta { display: flex; align-items: flex-end; justify-content: space-between; gap: 5px; margin: 7px 0; }
.m-source-meta div { display: flex; flex-direction: column; gap: 1px; }
.m-source-meta span { font-size: 7.5px; color: #94a3b8; }
.m-source-meta strong { font-size: 14px; color: #111827; }
.m-source-connected { display: inline-block; margin-bottom: 6px; padding: 2px 6px; border-radius: 5px; background: #ecfdf5; color: #059669; font-size: 7.5px; }
.m-source-body .btn-m { padding: 8px; font-size: 9.5px; }
.m-source-detail { display: grid; grid-template-columns: 1.25fr .75fr; gap: 10px; align-items: start; }
.m-source-detail-main { overflow: hidden; }
.m-source-detail-cover { width: 100%; max-height: 250px; object-fit: cover; background: #f2f7fd; }
.m-source-detail-info { padding: 14px; }
.m-source-detail-info h3 { font-size: 20px; color: #111827; margin: 4px 0; }
.m-source-detail-info > p { font-size: 10.5px; color: #8a99aa; line-height: 1.7; }
.m-source-price { display: flex; align-items: baseline; gap: 6px; margin: 10px 0; }
.m-source-price span, .m-source-price em { font-style: normal; font-size: 8.5px; color: #94a3b8; }
.m-source-price strong { font-size: 25px; color: #111827; }
.m-source-note { padding: 9px 10px; border-radius: 8px; background: #f8fafd; border: 1px solid #eef3f9; }
.m-source-note strong { font-size: 9px; color: #475569; }
.m-source-note p { font-size: 9px; color: #8a99aa; line-height: 1.65; margin-top: 2px; }
.m-source-form { padding: 14px; }
.m-source-form .field { margin-bottom: 7px; }
.m-source-cost { display: flex; align-items: center; justify-content: space-between; padding: 9px 10px; border-radius: 8px; background: #eef4ff; color: #2563eb; margin: 9px 0; }
.m-source-cost span { font-size: 9px; }
.m-source-cost strong { font-size: 17px; }
.m-source-pay-tip { display: flex; align-items: center; gap: 4px; margin-top: 7px; font-size: 8px; color: #94a3b8; }
.m-source-pay-tip .icon { width: 12px; height: 12px; }
.m-dist-stats { margin-bottom: 9px; }
.m-dist-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 9px; align-items: start; }
.m-dist-form { padding: 14px; }
.m-dist-form .field { margin-bottom: 10px; }
.m-switch-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #eef3f8; margin-bottom: 10px; cursor: pointer; }
.m-switch-row span { display: flex; flex-direction: column; gap: 2px; }
.m-switch-row strong { font-size: 11px; color: #334155; }
.m-switch-row em { font-style: normal; font-size: 8px; color: #94a3b8; line-height: 1.5; }
.m-switch-row input { width: 35px; height: 20px; accent-color: #2563eb; }
.m-source-lines { display: grid; }
.m-source-line { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 12px; border-bottom: 1px solid #eef3f8; }
.m-source-line:last-child { border-bottom: 0; }
.m-source-line > div { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.m-source-line strong { font-size: 11px; color: #1e293b; }
.m-source-line em { font-style: normal; font-size: 8px; color: #94a3b8; }
.m-source-line > span { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; }
.m-source-line > span strong { font-size: 12px; }
.m-source-line a { font-size: 8.5px; color: #2563eb; }
.m-back { display: inline-flex; align-items: center; gap: 4px; font-size: 9px; color: #64748b; margin-bottom: 3px; }
@media (max-width: 760px) {
    .m-source-banner { align-items: flex-start; flex-direction: column; gap: 7px; }
    .m-source-banner h3 { font-size: 13px; }
    .m-source-banner p { font-size: 9px; }
    .m-source-grid { grid-template-columns: 1fr 1fr; gap: 7px; }
    .m-source-body { padding: 8px; }
    .m-source-body h3 { font-size: 10.5px; }
    .m-source-body p { font-size: 8px; min-height: 26px; }
    .m-source-meta strong { font-size: 12px; }
    .m-source-detail, .m-dist-grid { grid-template-columns: 1fr; }
    .m-source-detail-cover { max-height: 190px; }
    .m-source-detail-info { padding: 11px; }
    .m-source-detail-info h3 { font-size: 17px; }
    .m-source-form { padding: 11px; }
    .m-source-form .field input { height: 34px; }
}


/* 货源广场：商户列表 */
.m-source-merchant-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.m-source-merchant { display: flex; align-items: center; gap: 10px; padding: 12px; background: #fff; border: 1px solid #e7edf5; border-radius: 12px; box-shadow: 0 5px 16px rgba(23,43,77,.04); }
.m-source-merchant-logo { width: 40px; height: 40px; border-radius: 10px; overflow: hidden; background: #eef4ff; color: #2563eb; display: grid; place-items: center; font-size: 15px; font-weight: 700; flex: 0 0 auto; }
.m-source-merchant-logo img { width: 100%; height: 100%; object-fit: cover; }
.m-source-merchant-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.m-source-merchant-body strong { color: #1e293b; font-size: 12px; }
.m-source-merchant-body em { font-style: normal; color: #94a3b8; font-size: 8px; line-height: 1.5; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.m-source-merchant-body span { color: #8a99aa; font-size: 8px; }
.m-source-merchant-body b { color: #2563eb; font-weight: 650; }
.m-source-merchant > .icon { width: 14px; height: 14px; color: #94a3b8; flex: 0 0 auto; }
.m-source-rule { display: grid; gap: 4px; margin: 9px 0; padding: 8px 9px; background: #f8fafd; border: 1px solid #eef3f9; border-radius: 8px; }
.m-source-rule div { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.m-source-rule span { font-size: 8px; color: #94a3b8; }
.m-source-rule strong { font-size: 9px; color: #334155; }
.m-source-connected-box { padding: 9px 10px; border-radius: 8px; background: #ecfdf5; color: #059669; font-size: 9px; line-height: 1.65; margin-bottom: 8px; }
@media (max-width: 760px) {
    .m-source-merchant-grid { grid-template-columns: 1fr; gap: 6px; }
    .m-source-merchant { padding: 9px 10px; border-radius: 10px; }
    .m-source-merchant-logo { width: 34px; height: 34px; font-size: 13px; }
    .m-source-merchant-body strong { font-size: 11px; }
}

.m-product-actions { flex-wrap: wrap; }
.m-mini-btn.danger { color: #dc2626 !important; border-color: #fecaca !important; background: #fff5f5 !important; }
.m-mini-btn.danger:hover { background: #fee2e2 !important; }

.m-product-source { display: inline-flex; align-items: center; padding: 3px 7px; border-radius: 5px; background: #ecfdf5; color: #059669; font-size: 8px; }
.m-soft-tag.green { background: #ecfdf5; color: #059669; }


/* 商家多种联系方式 */
.seller-contact-list { display: grid; gap: 6px; margin: 13px 0 4px; }
.seller-contact-item { display: grid; grid-template-columns: 34px 1fr auto auto; align-items: center; gap: 6px; padding: 9px 10px; border: 1px solid #eef3f9; border-radius: 9px; background: #f8fafd; }
.seller-contact-item > span { font-size: 8.5px; color: #94a3b8; }
.seller-contact-item > strong { font-size: 13px; color: #111827; word-break: break-all; }
.seller-contact-item button, .seller-contact-item a { display: inline-flex; align-items: center; gap: 3px; border: 1px solid #dbe8fa; border-radius: 6px; background: #fff; color: #2563eb; padding: 4px 7px; font-size: 8.5px; cursor: pointer; white-space: nowrap; }
.seller-contact-item button { background: #2563eb; border-color: #2563eb; color: #fff; }
.seller-contact-item .icon { width: 11px; height: 11px; }
.store-footer-links span { white-space: nowrap; }

.m-contact-required { display: flex; align-items: flex-start; gap: 5px; margin: -2px 0 9px; padding: 7px 9px; border-radius: 7px; background: #fff7ed; color: #c2410c; font-size: 8.5px; line-height: 1.6; }
.m-contact-required .icon { width: 12px; height: 12px; flex: 0 0 auto; margin-top: 1px; }

.m-settlement-note { margin-bottom: 9px; padding: 13px 14px; }
.m-settlement-content { font-size: 10.5px; color: #52657a; line-height: 1.85; }

.m-withdraw-extras { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 7px; }
.m-withdraw-extras button { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-height: 32px; border: 1px solid #dbe8fa; border-radius: 8px; background: #f4f8ff; color: #2563eb; font-size: 9px; cursor: pointer; }
.m-withdraw-extras .icon { width: 13px; height: 13px; }
.m-withdraw-info-modal { position: fixed; inset: 0; z-index: 140; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(15,23,42,.45); backdrop-filter: blur(8px); }
.m-withdraw-info-modal.is-open { display: flex; }
.m-withdraw-info-dialog { position: relative; width: min(400px, 100%); max-height: 80vh; overflow-y: auto; background: #fff; border-radius: 16px; padding: 20px; box-shadow: 0 24px 70px rgba(15,23,42,.24); }
.m-withdraw-info-dialog h3 { display: flex; align-items: center; gap: 6px; color: #111827; font-size: 17px; margin-bottom: 8px; }
.m-withdraw-info-dialog h3 .icon { width: 18px; height: 18px; color: #2563eb; }
.m-withdraw-info-close { position: absolute; top: 10px; right: 10px; width: 27px; height: 27px; border: 1px solid #e7edf5; border-radius: 50%; background: #f8fafc; color: #64748b; font-size: 16px; }
.m-withdraw-info-content { color: #52657a; font-size: 10.5px; line-height: 1.9; margin-bottom: 12px; white-space: normal; }

.m-page-title-row { display: flex; align-items: center; gap: 8px; }
.m-page-title-row h2 { margin: 0; }
.m-cn-flag { display: inline-flex; width: 25px; height: 17px; border-radius: 2px; overflow: hidden; box-shadow: 0 1px 3px rgba(15,23,42,.15); flex: 0 0 auto; }
.m-cn-flag svg { width: 100%; height: 100%; display: block; }

.m-wallet-extras { display: flex; gap: 6px; margin: 0 0 8px; }
.m-wallet-extras button { display: inline-flex; align-items: center; gap: 4px; border: 1px solid #dbe8fa; border-radius: 7px; background: #fff; color: #2563eb; padding: 6px 9px; font-size: 8.5px; cursor: pointer; }
.m-wallet-extras .icon { width: 12px; height: 12px; }

.m-merchant-popup { position: fixed; inset: 0; z-index: 160; display: none; align-items: center; justify-content: center; padding: 20px; background: rgba(15,23,42,.46); backdrop-filter: blur(8px); }
.m-merchant-popup.is-open { display: flex; }
.m-merchant-popup-dialog { position: relative; width: min(390px, 100%); max-height: 82vh; overflow-y: auto; background: #fff; border-radius: 17px; padding: 22px; box-shadow: 0 26px 80px rgba(15,23,42,.25); }
.m-merchant-popup-kicker { display: inline-flex; align-items: center; gap: 4px; color: #2563eb; font-size: 8.5px; letter-spacing: .08em; }
.m-merchant-popup-kicker .icon { width: 13px; height: 13px; }
.m-merchant-popup-dialog h3 { color: #111827; font-size: 20px; margin: 5px 0 9px; letter-spacing: -.02em; }
.m-merchant-popup-content { color: #52657a; font-size: 11px; line-height: 1.9; margin-bottom: 14px; }
.m-merchant-popup-close { position: absolute; top: 12px; right: 12px; width: 28px; height: 28px; border: 1px solid #e7edf5; border-radius: 50%; background: #f8fafc; color: #64748b; font-size: 17px; line-height: 1; }


/* 订单投诉 / 售后 / 判定 */
.order-dispute-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; max-width: 760px; margin: 9px auto 0; }
.order-dispute-btn { display: inline-flex; align-items: center; justify-content: center; gap: 5px; min-height: 38px; border-radius: 9px; border: 1px solid #e7edf5; background: #fff; color: #64748b; font-size: 11px; font-weight: 600; cursor: pointer; }
.order-dispute-btn.complaint { color: #dc2626; border-color: #fecaca; background: #fff7f7; }
.order-dispute-btn.after { color: #2563eb; border-color: #dbe8fa; background: #f4f8ff; }
.order-dispute-btn .icon { width: 14px; height: 14px; }
.order-disputes { max-width: 760px; margin: 12px auto 30px; }
.order-disputes-head h2 { color: #111827; font-size: 17px; }
.order-disputes-head p { color: #8a99aa; font-size: 9px; }
.order-dispute-card { margin-top: 8px; background: #fff; border: 1px solid #e7edf5; border-radius: 12px; padding: 12px; }
.order-dispute-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; }
.order-dispute-top > div { display: flex; flex-direction: column; gap: 2px; }
.order-dispute-type { font-size: 8px; color: #2563eb; }
.order-dispute-top strong { font-size: 10px; color: #1e293b; }
.order-dispute-status, .m-dispute-state, .a-dispute-state { display: inline-flex; padding: 3px 7px; border-radius: 5px; font-size: 8px; background: #f1f5f9; color: #64748b; }
.order-dispute-status.pending, .m-dispute-state.pending, .a-dispute-state.pending { background: #fff7ed; color: #c2410c; }
.order-dispute-status.processing, .m-dispute-state.processing, .a-dispute-state.processing { background: #eef4ff; color: #2563eb; }
.order-dispute-status.resolved, .m-dispute-state.resolved, .a-dispute-state.resolved { background: #ecfdf5; color: #059669; }
.order-dispute-contact { margin-top: 6px; font-size: 8px; color: #94a3b8; }
.order-dispute-thread, .m-dispute-thread { display: grid; gap: 6px; margin-top: 9px; }
.order-dispute-message { max-width: 88%; padding: 8px 10px; border-radius: 9px; background: #f8fafd; border: 1px solid #eef3f9; }
.order-dispute-message.sender-buyer { justify-self: start; }
.order-dispute-message.sender-merchant, .order-dispute-message.sender-admin { justify-self: end; background: #eef4ff; border-color: #dbe8fa; }
.order-dispute-message.sender-system { justify-self: center; background: #ecfdf5; border-color: #bbf7d0; text-align: center; max-width: 100%; }
.order-dispute-message > span { display: block; font-size: 7px; color: #94a3b8; margin-bottom: 2px; }
.order-dispute-message > p { font-size: 10px; line-height: 1.65; color: #334155; }
.order-dispute-reply { display: flex; gap: 5px; margin-top: 8px; }
.order-dispute-reply textarea { flex: 1; border: 1px solid #e1e9f2; border-radius: 7px; padding: 7px 8px; font-size: 10px; resize: vertical; }
.order-dispute-reply button { flex: 0 0 auto; border: 0; border-radius: 7px; background: #2563eb; color: #fff; padding: 0 12px; font-size: 9px; font-weight: 600; }
.order-dispute-modal { position: fixed; inset: 0; z-index: 150; display: none; align-items: center; justify-content: center; padding: 18px; background: rgba(15,23,42,.45); backdrop-filter: blur(8px); }
.order-dispute-modal.is-open { display: flex; }
.order-dispute-dialog { position: relative; width: min(400px, 100%); max-height: 85vh; overflow-y: auto; background: #fff; border-radius: 16px; padding: 20px; box-shadow: 0 24px 70px rgba(15,23,42,.24); }
.order-dispute-kicker { font-size: 7.5px; color: #2563eb; letter-spacing: .1em; }
.order-dispute-dialog h3 { color: #111827; font-size: 19px; margin: 3px 0 10px; }
.order-dispute-close { position: absolute; top: 11px; right: 11px; width: 28px; height: 28px; border: 1px solid #e7edf5; border-radius: 50%; background: #f8fafc; color: #64748b; font-size: 17px; }
.order-dispute-dialog .field { margin-bottom: 8px; }
.order-dispute-dialog textarea { resize: vertical; }
.m-dispute-stats { margin-bottom: 8px; }
.m-dispute-list { display: grid; gap: 7px; }
.m-dispute-row { display: block; padding: 12px 13px; }
.m-dispute-row-top { display: flex; align-items: center; justify-content: space-between; gap: 6px; margin-bottom: 5px; }
.m-dispute-row > strong { display: block; font-size: 11px; color: #1e293b; }
.m-dispute-row > p { font-size: 9px; color: #8a99aa; line-height: 1.6; margin: 2px 0 6px; }
.m-dispute-row-foot { display: flex; align-items: center; justify-content: space-between; font-size: 8px; color: #94a3b8; }
.m-dispute-row-foot .icon { width: 13px; height: 13px; }
.m-dispute-detail { padding: 14px; }
.m-dispute-detail-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding-bottom: 10px; border-bottom: 1px solid #eef3f8; }
.m-dispute-detail-meta div { display: flex; flex-direction: column; gap: 2px; }
.m-dispute-detail-meta span { font-size: 7.5px; color: #94a3b8; }
.m-dispute-detail-meta strong { font-size: 9.5px; color: #334155; word-break: break-all; }
.m-dispute-reply { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.m-dispute-reply textarea { border: 1px solid #e1e9f2; border-radius: 8px; padding: 8px 9px; font-size: 10.5px; }
.m-dispute-reply button { align-self: flex-end; }
.m-dispute-result, .a-dispute-result { padding: 10px; border-radius: 8px; background: #ecfdf5; color: #059669; font-size: 10px; line-height: 1.7; }
.m-dispute-result strong, .a-dispute-result strong { font-size: 13px; }
.m-dispute-result em, .a-dispute-result em { display: block; font-style: normal; color: #64748b; font-size: 8px; }
.a-dispute-mode-form { display: flex; gap: 6px; align-items: center; }
.a-dispute-mode-form select { height: 34px; border: 1px solid #dbe5f0; border-radius: 7px; background: #fff; padding: 0 8px; font-size: 11px; }
.a-dispute-admin-grid { display: grid; grid-template-columns: minmax(0,1.35fr) minmax(260px,.65fr); gap: 10px; align-items: start; }
.a-dispute-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; padding: 0 0 10px; border-bottom: 1px solid #eef3f8; margin-bottom: 9px; }
.a-dispute-meta.vertical { grid-template-columns: 1fr; }
.a-dispute-meta div { display: flex; flex-direction: column; gap: 2px; }
.a-dispute-meta span { font-size: 9px; color: #94a3b8; }
.a-dispute-meta strong { font-size: 12px; color: #334155; word-break: break-all; }
.a-dispute-thread { max-height: 430px; overflow-y: auto; padding: 2px; }
.a-dispute-reply { display: flex; flex-direction: column; gap: 6px; margin-top: 10px; }
.a-dispute-reply textarea { border: 1px solid #dbe5f0; border-radius: 8px; padding: 8px; font-size: 12px; }
.a-dispute-reply button { align-self: flex-end; }
.a-dispute-verdict-actions { display: grid; gap: 6px; margin-top: 8px; }
@media (max-width: 760px) {
    .order-dispute-actions { margin-top: 7px; }
    .order-dispute-btn { min-height: 34px; font-size: 10px; }
    .m-dispute-detail-meta { grid-template-columns: 1fr; }
    .a-dispute-admin-grid { grid-template-columns: 1fr; }
}


/* 订单查询：深色卡片内输入区统一深色 */
.front-body .query-panel .field > span,
.front-body .query-panel .field > em,
.front-body .query-panel .query-form-head h2 { color: #eaf7fb !important; }
.front-body .query-panel .query-form-head p,
.front-body .query-panel .query-safe { color: #7f9aaa !important; }
.front-body .query-panel .input-with-icon { background: #0d1e2e !important; border-color: rgba(118,188,220,.22) !important; }
.front-body .query-panel .input-with-icon input,
.front-body .query-panel .field input { background: transparent !important; color: #eaf7fb !important; }
.front-body .query-panel .input-with-icon input::placeholder,
.front-body .query-panel .field input::placeholder { color: #5e7b8e !important; }
.front-body .query-panel .input-with-icon .icon { color: #6f93a6 !important; }
.front-body .query-panel .contact-tabs { background: transparent !important; }
.front-body .query-panel .contact-tab { background: #0d1e2e !important; border-color: rgba(118,188,220,.22) !important; color: #8eabba !important; }
.front-body .query-panel .contact-tab.is-active { background: rgba(66,239,209,.12) !important; border-color: rgba(66,239,209,.45) !important; color: #bffcf2 !important; }
.front-body .query-panel .query-help { border-top-color: rgba(118,188,220,.16) !important; color: #6f8b9b !important; }


/* 全站订单：10 列完整排入内容区，取消横向溢出 */
.a-nav-orders .a-filter-panel .a-search { flex: 1 1 300px; min-width: 260px; max-width: none; }
.a-nav-orders .a-filter-panel .a-search input { width: 100%; min-width: 0; font-size: 12.5px !important; }
.a-nav-orders .a-table-panel .a-table { table-layout: fixed; width: 100%; font-size: 12px !important; }
.a-nav-orders .a-table-panel .a-table th { font-size: 11.5px !important; line-height: 1.4; padding: 9px 6px !important; white-space: normal !important; word-break: break-word; vertical-align: middle; }
.a-nav-orders .a-table-panel .a-table td { font-size: 12px !important; line-height: 1.55; padding: 9px 6px !important; white-space: normal !important; word-break: break-word; vertical-align: middle; }
.a-nav-orders .a-table-panel .a-table .mono { font-size: 11.5px !important; word-break: break-all; }
.a-nav-orders .a-table-panel .a-table .a-block { font-size: 10.5px !important; line-height: 1.5; }
.a-nav-orders .a-table-panel .a-table .a-muted { font-size: 10.5px !important; }
.a-nav-orders .a-table-panel .a-table .a-settle-actions { gap: 3px; flex-wrap: wrap; }
.a-nav-orders .a-table-panel .a-table .a-settle-actions .a-btn { min-height: 25px; padding: 4px 6px !important; font-size: 10px !important; }
.a-nav-orders .a-table-panel .a-table .a-settle-done,
.a-nav-orders .a-table-panel .a-table .a-settle-reject { font-size: 9px !important; padding: 2px 4px; }
.a-nav-orders .a-table-panel .a-table .a-row-arrow { padding: 4px; }

.a-nav-orders .a-table-panel { overflow: visible !important; }
.a-nav-orders .a-table-wrap { overflow-x: visible !important; }
.a-dispute-thread { max-height: none !important; overflow-y: visible !important; }



/* 总后台可读性与不裁切修正 */
.a-table-panel { overflow: visible !important; }
.a-ticker { overflow: visible !important; align-items: flex-start !important; flex-wrap: wrap; row-gap: 4px; }
.a-ticker-label { font-size: 8.5px !important; }
.a-ticker-track { overflow: visible !important; white-space: normal !important; flex-wrap: wrap; row-gap: 3px; column-gap: 18px; width: 100%; mask-image: none !important; }
.a-ticker-track span { animation: none !important; transform: none !important; font-size: 10.5px !important; line-height: 1.65; white-space: normal; }
.a-ticker-time { font-size: 9px !important; }
.a-kpi { overflow: visible !important; height: auto !important; }
.a-kpi-main { height: auto !important; min-height: 108px; overflow: visible !important; }
.a-kpi-top > span { font-size: 11px !important; }
.a-kpi-top > em { font-size: 9px !important; }
.a-kpi-foot { font-size: 10px !important; line-height: 1.5; }
@media (max-width: 1180px) {
    .a-merchant-detail-grid { grid-template-columns: minmax(0, 1fr) !important; }
    .a-merchant-detail-grid .a-detail-side { display: grid !important; grid-template-columns: 1fr 1fr; gap: 10px; }
}
@media (max-width: 850px) {
    .a-merchant-detail-grid .a-detail-side { grid-template-columns: 1fr; }
    .a-mini-stats { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
    .a-mini-stats div:nth-child(n+4) { display: block !important; }
}


/* 总后台：装饰元素不溢出，文本不再省略 */
.a-kpi-orbit { right: 0 !important; }
.a-chart-panel { overflow: visible !important; }
.a-flow-item strong,
.a-rank-name strong,
.a-merchant-cell a,
.a-channel-title h3,
.a-channel-meta strong { white-space: normal !important; overflow: visible !important; text-overflow: clip !important; word-break: break-word; }


/* 公告设置 / 平台设置 / 支付通道 / 费率分组 排版修正 */
.a-nav-announcements .a-settings-grid { align-items: stretch; }
.a-nav-announcements .a-settings-main > .a-panel,
.a-nav-announcements .a-settings-side > .a-panel { height: 100%; }
.a-nav-announcements .a-field input,
.a-nav-announcements .a-field textarea { background: #fff !important; border: 1px solid #dbe5f0 !important; border-radius: 7px; }
.a-nav-announcements .a-field textarea { min-height: 96px; line-height: 1.7; }

.a-nav-settings .a-callback-box { align-items: flex-start; }
.a-nav-settings .a-callback-box.vertical code { flex: 0 0 100%; white-space: normal !important; word-break: break-all; overflow-wrap: anywhere; line-height: 1.65; font-size: 11px !important; }
.a-nav-settings .a-callback-box span { font-size: 9px !important; }
.a-nav-settings .a-callback-box { min-width: 0; }

.a-channel-card { overflow: visible !important; padding: 17px !important; }
.a-channel-title h3 { font-size: 14px !important; line-height: 1.4; white-space: normal !important; }
.a-channel-title p { font-size: 10px !important; line-height: 1.5; }
.a-channel-meta span { font-size: 9.5px !important; }
.a-channel-meta strong { font-size: 11.5px !important; line-height: 1.5; white-space: normal !important; overflow: visible !important; text-overflow: clip !important; word-break: break-word; }
.a-channel-stats span { font-size: 9.5px !important; }
.a-channel-stats strong { font-size: 14px !important; }
.a-channel-actions { gap: 7px !important; }
.a-channel-actions .a-btn { font-size: 11px !important; min-height: 30px; }
.a-channel-badge { display: inline-flex; align-items: center; padding: 3px 6px; border-radius: 5px; background: #fff7ed; color: #c2410c; font-size: 8px; font-weight: 600; letter-spacing: .04em; flex: 0 0 auto; }
.a-channel-add { min-height: 230px; }

.a-group-top h3 { font-size: 16px !important; }
.a-group-top p { font-size: 10px !important; color: #7a8899 !important; }
.a-group-top > strong { font-size: 22px !important; color: #2563eb !important; }
.a-group-meta { font-size: 10px !important; color: #7a8899 !important; line-height: 1.6; }
.a-group-edit-form { margin-top: 12px; }
.a-group-edit-grid { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(120px,.8fr); gap: 8px; align-items: end; }
.a-group-edit-grid .a-field { margin: 0 !important; }
.a-group-edit-grid .a-field > span,
.a-group-create .a-field > span { font-size: 10.5px !important; color: #64748b !important; }
.a-group-edit-grid .a-field input,
.a-group-create .a-field input,
.a-group-create .a-field textarea { background: #fff !important; border: 1px solid #dbe5f0 !important; border-radius: 7px; min-height: 34px; font-size: 12px !important; }
.a-group-remark { grid-column: 1 / -1; }
.a-group-save { grid-column: 1 / -1; display: flex; justify-content: flex-end; }
.a-group-save .a-btn { min-height: 32px; padding: 6px 14px !important; font-size: 11.5px !important; }
.a-group-delete { padding-top: 8px !important; }
.a-group-create { min-width: 0; }
@media (max-width: 850px) {
  .a-group-edit-grid { grid-template-columns: 1fr; }
  .a-group-remark, .a-group-save { grid-column: auto; }
}

.a-channel-add strong { font-size: 13px !important; color: #334155 !important; font-weight: 600; }
.a-channel-add p { font-size: 10px !important; color: #8a99aa !important; margin-top: 3px; }

.apply-code-row { display: flex; align-items: stretch; gap: 6px; }
.apply-code-row input { flex: 1; min-width: 0; }
.apply-code-btn { flex: 0 0 auto; border: 1px solid #2563eb; border-radius: 8px; background: #2563eb; color: #fff; padding: 0 12px; font-size: 10px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.apply-code-btn:disabled { background: #cbd5e1; border-color: #cbd5e1; cursor: not-allowed; }
@media (max-width: 520px) {
  .apply-code-btn { padding: 0 9px; font-size: 9px; }
}

.a-mail-server { display: grid; grid-template-columns: minmax(0,1fr) 78px 72px; gap: 5px; }
.a-mail-server input, .a-mail-server select { min-width: 0; }
@media (max-width: 850px) { .a-mail-server { grid-template-columns: 1fr 70px 70px; } }

.cex-pay-option { font-size: 12px !important; min-height: 40px !important; }
.cex-pay-option.is-selected { box-shadow: 0 0 0 2px rgba(37,99,235,.12); }

.m-withdraw-actions { display: grid; gap: 8px; margin-top: 2px; }
.m-withdraw-save-tip { margin: 0; color: #8a99aa; font-size: 10.5px; line-height: 1.6; text-align: center; }

.a-withdraw-actions { display: flex; flex-direction: column; gap: 8px; min-width: 210px; }
.a-withdraw-action { display: grid; gap: 4px; padding: 7px; border: 1px solid #e7edf5; border-radius: 7px; background: #f8fafd; }
.a-withdraw-action.is-reject { background: #fff8f7; border-color: #f3dedb; }
.a-withdraw-action label { display: block; }
.a-withdraw-action label > span { display: block; margin-bottom: 3px; color: #64748b; font-size: 10.5px; line-height: 1.35; }
.a-withdraw-action input,
.a-withdraw-action textarea { width: 100%; box-sizing: border-box; border: 1px solid #dbe5f0 !important; border-radius: 5px; background: #fff !important; color: #111827 !important; padding: 6px 7px !important; font-size: 11.5px !important; line-height: 1.45; outline: 0; }
.a-withdraw-action textarea { min-height: 44px; resize: vertical; }
.a-withdraw-action .a-btn { width: 100%; min-height: 30px; font-size: 11px !important; }
.a-reject-reason,
.m-withdraw-reason { display: block; max-width: 180px; margin-top: 5px; color: #b42318; font-size: 10px; line-height: 1.5; word-break: break-word; }
.m-withdraw-reason { max-width: 220px; }

.m-withdraw-rejected { margin: 10px 0 12px; padding: 10px 12px; border: 1px solid #f3d6d2; border-radius: 8px; background: #fff8f7; color: #8f2d23; font-size: 11px; line-height: 1.55; }
.m-withdraw-rejected span { display: flex; align-items: center; gap: 4px; font-weight: 600; margin-bottom: 2px; }
.m-withdraw-rejected span .icon { width: 13px; height: 13px; }
.m-withdraw-rejected strong { display: block; font-weight: 500; color: #6f211a; word-break: break-word; }

.apply-email-off { display: flex; align-items: flex-start; gap: 6px; padding: 11px 12px; border: 1px solid #dbe7f6; border-radius: 8px; background: #f3f7ff; color: #52657a; font-size: 11.5px; line-height: 1.6; }
.apply-email-off .icon { width: 14px; height: 14px; flex: 0 0 auto; margin-top: 1px; }

.m-store-link { display: flex; align-items: center; gap: 6px; border: 1px solid #dbe5f0; border-radius: 7px; background: #fff; padding: 0 8px; }
.m-store-link em { font-style: normal; color: #8a99aa; font-size: 11px; white-space: nowrap; }
.m-store-link input { flex: 1; min-width: 0; border: 0 !important; box-shadow: none !important; background: transparent !important; padding: 8px 0 !important; font-size: 12px !important; }
.m-store-link button { border: 0; background: none; color: #2563eb; font-size: 10.5px; white-space: nowrap; cursor: pointer; }
