* { margin: 0; padding: 0; box-sizing: border-box; }
.bank-contact-card{margin:12px 0;padding:22px 16px;border:1px solid #ffe0c2;border-radius:14px;background:#fff9f3;text-align:center}.bank-contact-card>div{font-size:34px}.bank-contact-card strong{display:block;margin-top:7px;font-size:16px}.bank-contact-card p{margin:7px 0 14px;color:#7b8491;font-size:12px}.bank-contact-card .btn-primary{padding:9px 22px}
.recharge-methods{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:14px}.recharge-methods button{display:flex;min-width:0;min-height:82px;padding:10px 5px;border:1px solid #e8ebef;border-radius:12px;background:#fff;flex-direction:column;align-items:center;justify-content:center;gap:3px;color:#424750}.recharge-methods button i{font-size:23px;font-style:normal}.recharge-methods button span{font-size:13px;font-weight:700}.recharge-methods button small{color:#9aa1ac;font-size:10px}.recharge-methods button.active{border-color:#ff6900;background:#fff7f1;color:#ff6900;box-shadow:0 3px 12px rgba(255,105,0,.14)}.recharge-methods button.active small{color:#ff8a3d}
.purchase-deadline{display:inline-flex;margin-top:6px;padding:3px 7px;border-radius:6px;background:#fff3e8;color:#f97316;font-size:11px;font-weight:700}.purchase-deadline.urgent{background:#fff0f1;color:#e5484d;animation:deadlinePulse 1.2s infinite}@keyframes deadlinePulse{50%{opacity:.65}}
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif; background: #f5f6f8; color: #222; }
.h5-app { background: #e9ebef; }
.h5-app #app { max-width: 480px; margin: 0 auto; min-height: 100vh; background: #f5f6f8; box-shadow: 0 0 26px rgba(0, 0, 0, .10); position: relative; }
.h5-app .bottom-nav, .h5-app .detail-actions { max-width: 480px; left: 0; right: 0; margin: 0 auto; }
a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; outline: none; }
.primary { color: #FF6900; }
.price { color: #ff2d2d; font-weight: 700; }
.muted { color: #999; font-size: 12px; }
.btn-primary { background: #FF6900; color: #fff; border-radius: 8px; padding: 10px 18px; font-size: 14px; font-weight: 600; }
.btn-primary:disabled { opacity: .5; }
.btn-plain { background: #fff; color: #FF6900; border: 1px solid #FF6900; border-radius: 8px; padding: 10px 18px; font-size: 14px; }
.card { background: #fff; border-radius: 10px; margin: 10px; padding: 12px; }
.card, .list-item, .order-item, .goods-card { box-shadow: 0 1px 4px rgba(0, 0, 0, .05); }
.page { min-height: 100vh; padding-bottom: 64px; }
.topbar { position: sticky; top: 0; z-index: 20; background: #fff; padding: 12px 14px; display: flex; align-items: center; gap: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.topbar { min-height: 48px; }
.topbar h1 { font-size: 17px; font-weight: 700; flex: 1; }
.back { font-size: 18px; padding: 0 4px; }
.field { background: #fff; border-radius: 8px; margin: 10px; padding: 4px 12px; }
.field label { display: block; font-size: 12px; color: #999; padding-top: 8px; }
.field input, .field select, .field textarea { width: 100%; border: none; padding: 8px 0; font-size: 15px; background: transparent; }
.field + .field { border-top: 1px solid #f0f0f0; }
.kv input, .kv select { min-width: 0; max-width: 60%; }
.btn-block { display: block; width: calc(100% - 20px); margin: 14px 10px; }
.bottom-nav { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; display: flex; border-top: 1px solid #eee; z-index: 30; }
.bottom-nav a { flex: 1; text-align: center; padding: 8px 0 6px; font-size: 11px; color: #888; }
.bottom-nav a.active { color: #FF6900; }
.bottom-nav i { display: block; font-size: 20px; font-style: normal; margin-bottom: 2px; }
.goods-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 10px; }
.goods-card { background: #fff; border-radius: 10px; overflow: hidden; }
.goods-card .gimg { aspect-ratio: 1 / 1; height: auto; background: #fff; display: flex; align-items: center; justify-content: center; color: #bbb; font-size: 13px; overflow: hidden; }
.goods-card .gimg img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.goods-card .ginfo { padding: 8px; }
.goods-card .gname { font-size: 13px; line-height: 1.35; height: 36px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.goods-card .gprice { margin-top: 6px; font-size: 16px; color: #ff2d2d; font-weight: 700; }
.section-title { padding: 12px 12px 4px; font-size: 15px; font-weight: 700; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; padding: 8px 12px; }
.chip { background: #fff; border-radius: 16px; padding: 6px 14px; font-size: 12px; color: #555; }
.chip.active { background: #FF6900; color: #fff; }
.list-item { display: flex; align-items: center; background: #fff; margin: 8px 10px; border-radius: 10px; padding: 12px; gap: 10px; }
.list-item .thumb { width: 62px; height: 62px; background: #fff; border-radius: 10px; display: flex; align-items: center; justify-content: center; color: #bbb; font-size: 11px; flex-shrink: 0; overflow: hidden; }
.list-item .thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.list-item .body { flex: 1; min-width: 0; }
.list-item .title { font-size: 13px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.list-item .sub { font-size: 12px; color: #888; margin-top: 4px; }
.tag { display: inline-block; font-size: 10px; border: 1px solid #FF6900; color: #FF6900; border-radius: 4px; padding: 0 4px; margin-right: 4px; }
.empty { text-align: center; color: #bbb; padding: 60px 0; font-size: 14px; }
.toast-msg { position: fixed; top: 12%; left: 50%; transform: translateX(-50%); background: rgba(0,0,0,.75); color: #fff; padding: 8px 18px; border-radius: 8px; font-size: 13px; z-index: 999; }
.modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,.45); display: flex; align-items: center; justify-content: center; z-index: 100; }
.modal-box { background: #fff; border-radius: 12px; width: 84%; max-width: 380px; max-height: 80vh; overflow: auto; padding: 18px; }
.row-between { display: flex; justify-content: space-between; align-items: center; }
.stat-card { background: #fff; border-radius: 10px; margin: 10px; padding: 14px; }
.stat-card { border-top: 3px solid #FF6900; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.stat-grid.cols4 { grid-template-columns: repeat(4, 1fr); }
.order-status-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.order-status-item { background: #fafbfc; border: 1px solid #f0f1f4; border-radius: 10px; padding: 12px 4px; text-align: center; color: #333; }
.order-status-item .os-num { font-size: 18px; font-weight: 700; }
.order-status-item.warn .os-num { color: #ff6900; }
.order-status-item.bad .os-num { color: #e64340; }
.order-status-item.ok .os-num { color: #07a35a; }
.order-status-item .os-lab { font-size: 11px; color: #888; margin-top: 3px; }
.traffic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; text-align: center; }
.num.primary { color: #ff6900; }
.stat-grid .num { font-size: 16px; font-weight: 700; color: #FF6900; }
.stat-grid .lab { font-size: 11px; color: #888; margin-top: 2px; }
.status-ok { color: #07c160; }
.status-warn { color: #ff9500; }
.status-bad { color: #ff2d2d; }
.order-item { background: #fff; margin: 10px; border-radius: 10px; padding: 12px; }
.order-head { display: flex; justify-content: space-between; font-size: 12px; color: #888; margin-bottom: 8px; }
.order-goods { display: flex; gap: 10px; align-items: center; }
.order-foot { display: flex; justify-content: flex-end; align-items: center; gap: 8px; margin-top: 10px; }
.order-foot { flex-wrap: wrap; }
.btn-mini { border: 1px solid #ddd; border-radius: 6px; padding: 5px 12px; font-size: 12px; }
.btn-mini.primary { border-color: #FF6900; color: #FF6900; }
.menu-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; padding: 14px 10px; background: #fff; border-radius: 10px; margin: 10px; }
.menu-grid a { text-align: center; font-size: 12px; color: #444; }
.menu-grid i { display: block; width: 42px; height: 42px; margin: 0 auto 5px; background: #fff3ec; color: #FF6900; border-radius: 50%; line-height: 42px; font-size: 18px; font-style: normal; }
.wallet-card { background: linear-gradient(135deg, #FF6900, #ff9a3d); color: #fff; border-radius: 12px; margin: 12px; padding: 18px; }
.shop-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.shop-name { font-size: 17px; font-weight: 700; }
.shop-meta { font-size: 12px; opacity: .92; margin-top: 3px; }
.level-badge { flex-shrink: 0; background: rgba(255,255,255,.22); border: 1px solid rgba(255,255,255,.45); border-radius: 999px; padding: 3px 10px; font-size: 11px; font-weight: 600; }
.shop-sub { font-size: 13px; opacity: .92; margin-top: 4px; }
.wallet-card .bal { font-size: 26px; font-weight: 800; margin: 6px 0 10px; }
.detail-img { height: 260px; background: #f0f0f0; display: flex; align-items: center; justify-content: center; color: #bbb; }
.detail-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-info { background: #fff; padding: 14px; }
.detail-actions { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; display: flex; padding: 10px; gap: 10px; border-top: 1px solid #eee; z-index: 30; }
.detail-actions .btn-primary, .detail-actions .btn-plain { flex: 1; text-align: center; }
.navbar { background: #fff; padding: 8px 14px; display: flex; gap: 8px; border-bottom: 1px solid #eee; overflow-x: auto; }
.navbar a { white-space: nowrap; font-size: 13px; padding: 6px 10px; color: #555; border-radius: 6px; }
.navbar a.active { background: #FF6900; color: #fff; }
.table-wrap { background: #fff; margin: 10px; border-radius: 10px; overflow: auto; }
table.admin-table { width: 100%; border-collapse: collapse; font-size: 12px; min-width: 720px; }
.admin-table th { background: #f7f8fa; text-align: left; padding: 9px 10px; white-space: nowrap; }
.admin-table td { padding: 9px 10px; border-top: 1px solid #f0f0f0; }
.admin-table tbody tr:hover { background: #fff7f0; }
.admin-table tbody tr:nth-child(even) { background: #fcfcfd; }
.admin-table tbody tr:nth-child(even):hover { background: #fff3e8; }
.admin-page { padding: 20px 22px 30px; }
.admin-page h2 { font-size: 17px; margin: 0 0 14px; display: flex; align-items: center; gap: 8px; }
.admin-page h2::before { content: ''; width: 4px; height: 16px; border-radius: 2px; background: #ff6900; }
.admin-page .table-wrap { margin: 0 0 16px; }
.admin-page .card { margin: 0 0 16px; }
.admin-toolbar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.admin-toolbar input, .admin-toolbar select { border: 1px solid #dcdfe6; border-radius: 8px; padding: 8px 12px; font-size: 13px; background: #fff; transition: border-color .15s; }
.admin-toolbar input:focus, .admin-toolbar select:focus { border-color: #ff6900; outline: none; }
.admin-toolbar .btn-primary, .admin-toolbar .btn-plain { padding: 8px 16px; border-radius: 8px; }
.admin-toolbar .btn-plain { background: #fff; }

/* ===== 后台管理界面主题 ===== */
.admin-shell { display: flex; min-height: 100vh; background: #f0f2f5; }
.admin-side { width: 232px; background: #171c28; color: #aab2c2; flex-shrink: 0; display: flex; flex-direction: column; position: sticky; top: 0; height: 100vh; }
.admin-logo { display: flex; align-items: center; gap: 11px; padding: 18px 16px 14px; }
.admin-logo-badge { width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(135deg, #ff6900, #ff9a3d); color: #fff; font-weight: 800; font-size: 19px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 10px rgba(255, 105, 0, .35); }
.admin-logo-badge img { display: block; width: 40px; height: 40px; border-radius: 9px; }
.admin-logo b { color: #fff; font-size: 15px; display: block; line-height: 1.25; }
.admin-logo small { color: #7c8497; font-size: 11px; }
.admin-nav { flex: 1; overflow-y: auto; padding: 6px 10px 12px; }
.admin-nav::-webkit-scrollbar { width: 5px; }
.admin-nav::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .15); border-radius: 4px; }
.menu-group { display: flex; align-items: center; gap: 9px; padding: 10px 11px; font-size: 13px; font-weight: 600; color: #8f97a8; cursor: pointer; border-radius: 9px; user-select: none; transition: background .15s, color .15s; }
.menu-group:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.menu-group.open { color: #fff; }
.menu-group-icon { font-size: 15px; }
.menu-chevron { margin-left: auto; font-size: 10px; color: #6b7385; transition: transform .2s; }
.menu-group.open .menu-chevron { transform: rotate(180deg); }
.menu-children { margin: 3px 0 8px 18px; padding-left: 8px; border-left: 1px solid rgba(255, 255, 255, .08); }
.menu-child { display: flex; align-items: center; gap: 8px; padding: 9px 12px; font-size: 13px; color: #aab2c2; border-radius: 8px; margin: 2px 0; transition: background .15s, color .15s; }
.menu-child:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.menu-child.active-menu { background: linear-gradient(90deg, rgba(255, 105, 0, .30), rgba(255, 105, 0, .08)); color: #fff; }
.menu-child-icon { width: 16px; text-align: center; font-size: 12px; color: #6b7385; }
.admin-side-foot { padding: 12px 14px; border-top: 1px solid rgba(255, 255, 255, .08); display: flex; align-items: center; gap: 10px; }
.admin-user-avatar { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, #ff6900, #ff9a3d); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.admin-side-foot b { color: #fff; font-size: 13px; display: block; line-height: 1.3; }
.admin-side-foot small { color: #7c8497; font-size: 11px; }
.admin-main { flex: 1; min-width: 0; }
.admin-top { background: #fff; padding: 14px 22px; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 1px 3px rgba(0, 0, 0, .05); position: sticky; top: 0; z-index: 10; }
.admin-top h1 { font-size: 17px; }
.admin-bread { font-size: 11px; color: #a0a6b4; margin-top: 2px; font-family: Consolas, monospace; }
.admin-top-right { display: flex; align-items: center; gap: 12px; }
.admin-user-chip { background: #fff4ec; color: #ff6900; padding: 6px 14px; border-radius: 16px; font-size: 12px; font-weight: 700; }
.notice-badge { position: relative; width: 34px; height: 34px; border-radius: 50%; background: #f4f6f9; display: flex; align-items: center; justify-content: center; font-size: 16px; cursor: pointer; transition: all .15s; }
.notice-badge:hover { background: #fff4ec; transform: translateY(-1px); }
.notice-badge b { position: absolute; top: -4px; right: -4px; min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: #ff4d4d; color: #fff; font-size: 10px; line-height: 16px; text-align: center; font-weight: 700; }
.btn-ghost { border: 1px solid #dcdfe6; background: #fff; color: #555; border-radius: 8px; padding: 6px 14px; font-size: 12px; }
.btn-ghost:hover { border-color: #ff6900; color: #ff6900; }
.admin-head { position: sticky; top: 0; z-index: 10; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .05); }
.admin-tabs { display: flex; gap: 4px; padding: 0 16px 8px; overflow-x: auto; scrollbar-width: thin; }
.admin-tabs::-webkit-scrollbar { height: 4px; }
.admin-tabs::-webkit-scrollbar-thumb { background: #d8dce4; border-radius: 2px; }
.admin-tab { display: flex; align-items: center; gap: 6px; padding: 7px 12px; font-size: 12.5px; color: #5a6270; background: #f4f6f9; border: 1px solid #e4e7ed; border-radius: 8px 8px 0 0; cursor: pointer; white-space: nowrap; user-select: none; transition: all .15s; }
.admin-tab:hover { color: #ff6900; background: #fff7f0; border-color: #ffd6bc; }
.admin-tab.active { background: #fff; color: #ff6900; font-weight: 700; border-color: #ff6900; border-bottom: 1px solid #fff; margin-bottom: -1px; }
.admin-tab-pin { width:16px; height:16px; line-height:16px; text-align:center; border-radius:50%; font-size:10px; color:#aab1bd; opacity:.58; transition:all .15s; }
.admin-tab:hover .admin-tab-pin { opacity:1; }
.admin-tab-pin:hover { background:#ffe8d9; color:#ff6900; transform:rotate(-18deg); }
.admin-tab-pin.pinned { opacity:1; color:#ff6900; background:#fff0e6; }
.admin-tab-close { width: 15px; height: 15px; line-height: 14px; text-align: center; border-radius: 50%; font-size: 10px; color: #b6bcc8; flex-shrink: 0; }
.admin-tab-close:hover { background: #ff6900; color: #fff; }

/* KPI 卡片 */
.welcome-card { background: linear-gradient(135deg, #fff7f0, #fff); border: 1px solid #ffe3d1; border-radius: 12px; padding: 16px 20px; margin-bottom: 18px; }
.welcome-card h3 { font-size: 16px; margin-bottom: 4px; }
.admin-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 18px; }
.kpi { background: #fff; border-radius: 12px; padding: 16px; display: flex; align-items: center; gap: 14px; box-shadow: 0 1px 4px rgba(0, 0, 0, .05); border-top: 3px solid var(--c); }
.kpi-ico { width: 46px; height: 46px; border-radius: 12px; background: var(--cbg); display: flex; align-items: center; justify-content: center; font-size: 23px; flex-shrink: 0; }
.kpi-num { font-size: 22px; font-weight: 800; color: var(--c); line-height: 1.1; }
.kpi-lab { font-size: 12px; color: #8a90a0; margin-top: 3px; }
@media (max-width: 1100px) { .admin-kpis { grid-template-columns: repeat(2, 1fr); } }

/* 表格与按钮细节 */
.table-wrap { box-shadow: 0 1px 4px rgba(0, 0, 0, .05); }
.admin-table th { background: #fafbfc; color: #5f6672; font-weight: 600; }
.admin-table td { border-top: 1px solid #f2f3f5; }
.admin-table tbody tr:nth-child(even) { background: #fcfcfd; }
.admin-table tbody tr:hover { background: #fff7f0; }
.admin-table tbody tr:nth-child(even):hover { background: #fff3e8; }
.btn-mini { border: 1px solid #dcdfe6; border-radius: 7px; padding: 5px 12px; font-size: 12px; background: #fff; color: #555; transition: all .15s; }
.btn-mini:hover { border-color: #ff6900; color: #ff6900; }
.btn-mini.primary { border-color: #ff6900; color: #ff6900; }
.btn-primary { box-shadow: 0 3px 8px rgba(255, 105, 0, .22); transition: filter .15s; }
.btn-primary:hover { filter: brightness(1.06); }
.btn-primary:disabled { box-shadow: none; }

/* 后台登录页 */
.login-wrap.admin-login { background: linear-gradient(135deg, #171c28 0%, #232a3b 60%, #4a3223 120%); }
.admin-login .login-box { max-width: 420px; border-radius: 16px; box-shadow: 0 22px 60px rgba(0, 0, 0, .35); padding: 32px; }
.admin-login .login-box h1 { font-size: 22px; }
.admin-login .inp { border-radius: 9px; padding: 12px 14px; }
.admin-login .btn-block { border-radius: 9px; }
.login-wrap { min-height: 100vh; display: flex; flex-direction: column; align-items: center; justify-content: center; background: linear-gradient(160deg, #fff6f0, #ffe9dc); padding: 20px; }
.login-box { width: 100%; max-width: 400px; background: #fff; border-radius: 14px; padding: 26px; box-shadow: 0 8px 30px rgba(255,105,0,.12); }
.login-box h1 { font-size: 20px; margin-bottom: 4px; }
.login-box .sub { color: #999; font-size: 13px; margin-bottom: 18px; }
.login-box .inp { width: 100%; border: 1px solid #e5e5e5; border-radius: 8px; padding: 11px 12px; font-size: 14px; margin-bottom: 12px; }
.login-box .row { display: flex; gap: 8px; }
.login-box .row .inp { flex: 1; }
.auth-tabs { display:flex; gap:18px; margin:0 0 14px; border-bottom:1px solid #e8eaed; }
.auth-tabs button { appearance:none; border:0; border-bottom:2px solid transparent; background:transparent; color:#667085; padding:9px 2px; font-weight:600; cursor:pointer; }
.auth-tabs button.active { color:#0aa982; border-bottom-color:#0aa982; }
.auth-remember { display:flex; align-items:center; gap:7px; margin:-2px 0 13px; color:#667085; font-size:13px; cursor:pointer; }
.auth-remember input { width:15px; height:15px; accent-color:#0aa982; }
.captcha-img { width: 96px; height: 38px; border-radius: 6px; border: 1px solid #eee; flex-shrink: 0; background: #f7f8fa; }
.link { color: #FF6900; font-size: 13px; }
.center { text-align: center; }
.kv { display: flex; justify-content: space-between; font-size: 13px; padding: 7px 0; border-bottom: 1px dashed #f0f0f0; }
.kv:last-child { border-bottom: none; }

/* 买家首页 Hero */
.hero { background: linear-gradient(135deg, #ff6900, #ffb25e); padding: 26px 18px 22px; color: #fff; }
.hero h2 { font-size: 22px; margin-bottom: 4px; }
.hero p { font-size: 13px; opacity: .9; margin-bottom: 14px; }
.hero-search { width: 100%; border: none; border-radius: 22px; padding: 11px 18px; font-size: 14px; color: #333; background: #fff; }
.hero-search::placeholder { color: #bbb; }

/* ============================================================
   UI 2.0 美化层：统一排版/间距/色彩/交互（覆盖在基础样式之上）
   ============================================================ */
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Roboto, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  color: #1f2430;
}
button, input, select, textarea { font-family: inherit; }
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-thumb { background: #d3d8e0; border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: #b9c0cc; }

/* ---------- 通用卡片 ---------- */
.card {
  border-radius: 14px;
  border: 1px solid #eef0f4;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .05);
  transition: box-shadow .18s ease, transform .18s ease;
}
.card:hover { box-shadow: 0 6px 20px rgba(16, 24, 40, .08); }

/* ---------- 按钮 ---------- */
.btn-primary {
  background: linear-gradient(135deg, #ff6900, #ff8f3d);
  color: #fff;
  border: none;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(255, 105, 0, .25);
  transition: transform .15s ease, box-shadow .15s ease, filter .15s ease;
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(255, 105, 0, .34); filter: brightness(1.03); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost { border-radius: 10px; transition: all .15s ease; }
.btn-plain { border-radius: 10px; background: #fff; border: 1px solid #e3e7ee; color: #3a4252; transition: all .15s ease; }
.btn-plain:hover { border-color: #ff6900; color: #ff6900; }
.btn-mini { border-radius: 8px; transition: all .15s ease; }
.btn-mini:hover { background: #fff1e8; color: #ff6900; }

/* ---------- 表单 ---------- */
input, select, textarea {
  border-radius: 9px !important;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input:focus, select:focus, textarea:focus {
  border-color: #ff6900 !important;
  box-shadow: 0 0 0 3px rgba(255, 105, 0, .12);
  outline: none;
}

/* ---------- 后台整体 ---------- */
.admin-side { background: linear-gradient(180deg, #101828, #1b2637); }
.admin-logo { border-bottom: 1px solid rgba(255,255,255,.06); }
.admin-logo-badge { box-shadow: 0 6px 14px rgba(255, 105, 0, .4); }
.menu-group {
  border-radius: 10px;
  margin: 2px 0;
  padding: 10px 12px;
  transition: background .15s ease, color .15s ease;
}
.menu-group:hover { background: rgba(255,255,255,.06); color: #fff; }
.menu-group.open { background: rgba(255,255,255,.07); color: #fff; }
.menu-child {
  border-radius: 9px;
  margin: 1px 0 1px 10px;
  padding: 8px 12px;
  transition: background .15s ease, color .15s ease;
}
.menu-child:hover { background: rgba(255,255,255,.07); color: #fff; }
.menu-child.active-menu { background: linear-gradient(135deg, #ff6900, #ff8f3d); color: #fff; box-shadow: 0 4px 10px rgba(255,105,0,.3); }
.admin-head { background: #fff; }
.admin-top { box-shadow: 0 1px 0 rgba(0,0,0,.04); }
.admin-top h1 { font-size: 18px; font-weight: 700; letter-spacing: .2px; }
.admin-user-chip { box-shadow: 0 2px 6px rgba(255,105,0,.18); }
.admin-tabs { background: #fff; }
.admin-tab { font-weight: 500; }
.admin-tab.active { font-weight: 700; }
.admin-page { background: #f5f6f8; }

/* ---------- 后台卡片/表格 ---------- */
.admin-page .card { background: #fff; }
.section-title { font-weight: 700; color: #1f2430; letter-spacing: .2px; }
.admin-table { border-radius: 12px; overflow: hidden; }
.admin-table th {
  background: #f7f8fa;
  color: #6b7280;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .3px;
}
.admin-table tbody tr { transition: background .12s ease; }
.admin-table tbody tr:hover { background: #fff8f2; }

/* ---------- 后台 KPI ---------- */
.kpi { border-radius: 14px; border: 1px solid #eef0f4; box-shadow: 0 2px 8px rgba(16,24,40,.05); transition: transform .18s ease, box-shadow .18s ease; }
.kpi:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(16,24,40,.1); }
.kpi-ico { border-radius: 12px; box-shadow: 0 4px 10px rgba(0,0,0,.06); }
.kpi-num { font-weight: 800; letter-spacing: -.5px; }
.welcome-card { border-radius: 14px; }

/* ---------- 后台/各端登录页 ---------- */
.login-wrap {
  background: linear-gradient(135deg, #fff3e8 0%, #ffe8d2 45%, #fff 100%);
}
.login-box {
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 20px 50px rgba(120, 60, 10, .16);
  backdrop-filter: blur(8px);
}
.login-box h1 { font-weight: 800; letter-spacing: .4px; }
.inp { border-radius: 10px; }

/* ---------- 买家端 ---------- */
.h5-app { background: #f6f7f9; }
.topbar {
  background: #fff;
  box-shadow: 0 1px 0 rgba(0,0,0,.05);
}
.topbar h1 { font-weight: 700; }
.hero {
  background: linear-gradient(135deg, #ff6900, #ff9a4d 55%, #ffb25e);
  border-radius: 0 0 22px 22px;
  padding-bottom: 26px;
}
.hero-search { border-radius: 24px; box-shadow: 0 8px 20px rgba(255,105,0,.22); }
.chip {
  border-radius: 999px;
  transition: all .15s ease;
}
.chip.active { box-shadow: 0 3px 8px rgba(255,105,0,.28); }
.goods-grid { padding: 12px; gap: 12px; }
.goods-card {
  border-radius: 14px;
  border: 1px solid #eef0f4;
  box-shadow: 0 2px 8px rgba(16,24,40,.05);
  transition: transform .18s ease, box-shadow .18s ease;
}
.goods-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(16,24,40,.12); }
.goods-card .gimg { background: #fff; }
.goods-card .gname { font-weight: 600; color: #1f2430; }
.bottom-nav { box-shadow: 0 -2px 10px rgba(16,24,40,.06); border-radius: 16px 16px 0 0; }
.bottom-nav a { border-radius: 12px; margin: 4px 6px; transition: all .15s ease; }
.bottom-nav a.active { background: #fff1e8; color: #ff6900; }
.bottom-nav a.router-link-active, .bottom-nav a.router-link-exact-active { background: #fff1e8; color: #ff6900; }
.cart-page { padding-bottom: 130px; }
.cart-page .detail-actions {
  bottom: 70px;
  border-radius: 14px 14px 0 0;
  box-shadow: 0 -4px 14px rgba(16, 24, 40, .08);
}
.wallet-card { border-radius: 16px; box-shadow: 0 10px 24px rgba(255,105,0,.22); }
.list-item { border-radius: 12px; background: #fff; box-shadow: 0 1px 3px rgba(16,24,40,.05); transition: transform .15s ease; }
.list-item:active { transform: scale(.99); }
.order-item { border-radius: 12px; background: #fff; box-shadow: 0 1px 3px rgba(16,24,40,.05); }
.detail-img { border-radius: 16px; }
.navbar { border-radius: 12px; }

/* ---------- 卖家端 ---------- */
.menu-grid a {
  border-radius: 12px;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.menu-grid a:hover { transform: translateY(-2px); background: #fff4ec; box-shadow: 0 6px 14px rgba(255,105,0,.14); }

/* ---------- Toast ---------- */
.toast-msg {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(16,24,40,.18);
  font-weight: 600;
}

/* ---------- 状态色微调 ---------- */
.status-ok { color: #07a35a; font-weight: 600; }
.status-bad { color: #e5484d; font-weight: 600; }
.status-warn { color: #e8890c; font-weight: 600; }
.price { font-weight: 800; }
.muted { color: #8a92a3; }

/* ---------- 商品卡增强 ---------- */
.goods-card { position: relative; overflow: hidden; }
.goods-card .gimg img { transition: transform .35s ease; }
.goods-card:hover .gimg img { transform: scale(1.06); }
.goods-card .gprice { color: #ff2d2d; font-weight: 800; font-size: 17px; margin-top: 5px; }
.goods-card .gmeta { font-size: 11px; color: #9aa1af; margin-top: 4px; }
.g-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: linear-gradient(135deg, #ff4d4d, #ff8a3d);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 9px;
  border-radius: 999px;
  box-shadow: 0 4px 10px rgba(255, 77, 77, .35);
}
.section-title { font-size: 16px; padding: 14px 16px 8px; }

/* ---------- 商品详情 ---------- */
.detail-img {
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  overflow: hidden;
}
.detail-img img { width: 100%; height: 100%; object-fit: contain; }

/* ---------- 空状态 ---------- */
.empty { background: #fff; border-radius: 12px; padding: 28px 0; font-size: 13px; color: #a0a6b4; box-shadow: 0 1px 3px rgba(16,24,40,.05); }

/* ---------- 统计卡（卖家/后台共用） ---------- */
.stat-card { background: #fff; border-radius: 14px; border: 1px solid #eef0f4; box-shadow: 0 2px 8px rgba(16,24,40,.05); margin: 12px; padding: 14px; }
.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.stat-grid > div { background: #f8f9fb; border-radius: 12px; padding: 12px 8px; text-align: center; transition: transform .15s ease, box-shadow .15s ease; }
.stat-grid > div:hover { transform: translateY(-2px); box-shadow: 0 6px 14px rgba(16,24,40,.08); }
.stat-grid .num { font-size: 20px; font-weight: 800; color: #1f2430; }
.stat-grid .lab { font-size: 11px; color: #8a92a3; margin-top: 3px; }

/* ---------- 卖家钱包卡 ---------- */
.wallet-card .bal { font-size: 30px; font-weight: 800; letter-spacing: -.5px; margin: 4px 0; }

/* ---------- 后台仪表盘补充 ---------- */
.admin-kpis { gap: 16px; }

/* ---------- 买家首页 2.0（学习主流电商结构） ---------- */
.home-page { padding-bottom: 8px; }
.home-topbar {
  position: sticky; top: 0; z-index: 25;
  display: flex; align-items: center; gap: 8px;
  padding: 8px 12px;
  background: linear-gradient(180deg, #ff6900, #ff8a3d);
  box-shadow: 0 4px 14px rgba(255, 105, 0, .28);
}
.home-brand {
  color: #fff; font-size: 16px; font-weight: 800; letter-spacing: .3px;
  white-space: nowrap; max-width: 86px; overflow: hidden; text-overflow: ellipsis;
}
.home-search {
  flex: 1; display: flex; align-items: center; gap: 6px;
  background: #fff; border-radius: 999px; padding: 8px 14px;
  color: #b6bcc8; font-size: 13px; cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .10);
}
.home-cart { color: #fff; font-size: 21px; padding: 4px 4px 4px 8px; cursor: pointer; }

.banner-wrap {
  position: relative; margin: 10px 10px 0; border-radius: 14px; overflow: hidden;
  box-shadow: 0 6px 18px rgba(16, 24, 40, .10);
}
.banner-track { display: flex; transition: transform .45s ease; }
.banner-slide { flex: 0 0 100%; min-width: 0; position: relative; }
.banner-slide img { width: 100%; height: 150px; object-fit: cover; }
.banner-mask { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.40), rgba(0,0,0,0) 68%); pointer-events: none; }
.banner-text { position: absolute; left: 16px; top: 0; bottom: 0; display: flex; flex-direction: column; justify-content: center; gap: 7px; pointer-events: none; }
.bt-t { color: #fff; font-size: 17px; font-weight: 800; text-shadow: 0 2px 10px rgba(0,0,0,.4); }
.bt-s { width: fit-content; background: #fff; color: #ff6900; font-size: 11px; font-weight: 700; padding: 4px 11px; border-radius: 999px; box-shadow: 0 3px 10px rgba(0,0,0,.2); }
.banner-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; }
.banner-dots span { width: 6px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .55); transition: all .25s ease; cursor: pointer; }
.banner-dots span.on { width: 16px; background: #fff; }

.king-kong {
  display: flex; background: #fff; margin: 10px; border-radius: 14px; padding: 12px 2px;
  box-shadow: 0 2px 8px rgba(16, 24, 40, .05);
}
.kk-item { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 11px; color: #333; cursor: pointer; }
.kk-ico { width: 40px; height: 40px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 20px; font-style: normal; }

.cat-strip { display: flex; gap: 10px; overflow-x: auto; padding: 4px 10px 8px; scrollbar-width: none; }
.cat-strip::-webkit-scrollbar { display: none; }
.cat-wall { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 12px 6px; padding: 6px 10px 12px; }
.cat-wall .cat-tab { width: auto; flex: none; }
.cat-panel { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 10px 12px 4px; padding: 12px 10px; background: #fff; border-radius: 14px; box-shadow: 0 1px 6px rgba(16,24,40,.05); }
.cat-panel .chip { flex-direction: column; gap: 4px; justify-content: center; padding: 6px 2px; border-radius: 12px; font-size: 11px; line-height: 1.1; height: 58px; overflow: hidden; border: 1px solid #f0f1f3; background: #fff; }
.cat-panel .chip .cat-ico { font-size: 20px; line-height: 1; width: 34px; height: 34px; border-radius: 50%; background: #f5f7fa; display: flex; align-items: center; justify-content: center; }
.cat-panel .chip span:last-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; padding: 0 2px; }
.cat-panel .more-chip { border-style: dashed; color: #ff6900; }
.commodity-head { display: flex; align-items: center; gap: 8px; padding: 10px 12px 4px; flex-wrap: wrap; }
.commodity-head .ch-title { font-weight: 700; font-size: 15px; color: #222; }
.commodity-head input.inp { flex: 1; min-width: 120px; }
.commodity-head .ch-count { font-size: 12px; white-space: nowrap; }
.cat-tab { flex: 0 0 auto; display: flex; flex-direction: column; align-items: center; gap: 5px; width: 54px; }
.cat-dot { width: 44px; height: 44px; border-radius: 12px; background: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; box-shadow: 0 4px 10px rgba(16, 24, 40, .08); overflow: hidden; }
.cat-dot img { width: 100%; height: 100%; object-fit: cover; }
.cat-name { font-size: 10px; color: #555; text-align: center; width: 54px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.flag-img { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; vertical-align: -2px; box-shadow: 0 0 2px rgba(0,0,0,.2); }
.lang-opt .flag-img { margin-right: 4px; }

.op-bar {
  display: flex; align-items: center; gap: 8px; margin: 4px 10px 0; padding: 12px 14px;
  border-radius: 14px; color: #fff; cursor: pointer; box-shadow: 0 6px 16px rgba(16, 24, 40, .10);
}
.op-bar.flash { background: linear-gradient(135deg, #ff4d4d, #ff7a3d); }
.op-bar.rec { background: linear-gradient(135deg, #4f8ff7, #7f7fd5); }
.op-t { font-size: 15px; font-weight: 800; }
.op-s { flex: 1; font-size: 11px; opacity: .92; }
.op-go { background: rgba(255, 255, 255, .24); padding: 5px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; }

.goods-card .gprice-row { display: flex; align-items: baseline; gap: 6px; }
.goods-card .gprice-row .gprice { margin-top: 0; }
.goods-card .goprice { font-size: 11px; color: #b6bcc8; text-decoration: line-through; text-decoration-style: dashed; }

.home-footer { text-align: center; color: #9aa1af; font-size: 11px; line-height: 1.9; padding: 20px 16px 30px; }

/* ---------- 登录/入驻页悬浮返回键 ---------- */
.login-back {
  position: fixed; top: 14px; left: 14px; z-index: 60;
  width: 36px; height: 36px; line-height: 34px; text-align: center;
  background: rgba(255, 255, 255, .9); border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .14); font-size: 17px; color: #ff6900;
  cursor: pointer; text-decoration: none;
}

/* ---------- 后台仪表盘 2.0（图表/分布） ---------- */
.dash-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; margin-bottom: 18px; }
.dash-panel { background: #fff; border: 1px solid #eef0f4; border-radius: 14px; padding: 16px; box-shadow: 0 2px 8px rgba(16, 24, 40, .05); }
.dash-panel-title { font-size: 14px; font-weight: 700; color: #1f2430; margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.dash-panel-title::before { content: ''; width: 4px; height: 14px; border-radius: 2px; background: #ff6900; }
.bar-chart { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; height: 150px; }
.bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 4px; height: 100%; }
.bar-val { font-size: 11px; color: #6b7280; font-weight: 600; }
.bar { width: 70%; max-width: 34px; border-radius: 6px 6px 3px 3px; background: linear-gradient(180deg, #ff9a4d, #ff6900); transition: height .4s ease; }
.bar-lab { font-size: 10px; color: #9aa1af; }
.dash-rows { display: flex; flex-direction: column; gap: 8px; }
.dash-row { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: #555; padding: 6px 8px; background: #f8f9fb; border-radius: 8px; }
.dash-num { font-weight: 700; color: #ff6900; }
.dash-quick {
  display: flex; gap: 12px; margin-bottom: 16px; flex-wrap: wrap;
}
.dash-quick .dq {
  flex: 1; min-width: 130px; background: #fff; border: 1px solid #eef0f4; border-radius: 12px;
  padding: 12px 14px; display: flex; align-items: center; gap: 10px;
  box-shadow: 0 2px 8px rgba(16, 24, 40, .05);
}
.dash-quick .dq i { font-style: normal; font-size: 20px; }
.dash-quick .dq b { display: block; font-size: 18px; color: #1f2430; }
.dash-quick .dq span { font-size: 11px; color: #8a92a3; }
@media (max-width: 1100px) {
  .dash-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
  .dash-grid { grid-template-columns: 1fr; }
}

/* ---------- 商家入驻页 ---------- */
.settle-page { padding: 0 0 30px; }
.settle-hero {
  color: #fff; padding: 18px 16px 26px;
  background: linear-gradient(135deg, #ff6900, #ff9a4d 60%, #ffb25e);
  border-radius: 0 0 24px 24px; position: relative;
  box-shadow: 0 8px 24px rgba(255, 105, 0, .25);
}
.sh-top { display: flex; align-items: center; gap: 10px; margin-bottom: 14px; }
.sh-top .back { color: #fff; font-size: 20px; }
.sh-brand {
  font-size: 12px; font-weight: 700; background: rgba(255, 255, 255, .22);
  padding: 5px 12px; border-radius: 999px;
}
.sh-brand img { width: 28px; height: 28px; border-radius: 6px; object-fit: contain; margin-right: 8px; vertical-align: middle; }
.settle-hero h2 { font-size: 24px; font-weight: 800; margin-bottom: 6px; }
.settle-hero p { font-size: 12px; opacity: .95; line-height: 1.6; margin-bottom: 14px; }
.sh-benefits { display: flex; gap: 8px; flex-wrap: wrap; }
.sh-benefits span {
  background: rgba(255, 255, 255, .16); border: 1px solid rgba(255, 255, 255, .32);
  padding: 6px 12px; border-radius: 999px; font-size: 11px; font-weight: 600;
}

.settle-progress {
  position: relative; z-index: 3;
  display: flex; align-items: flex-start;
  background: #fff; margin: -18px 14px 0; padding: 14px 16px 10px;
  border-radius: 14px; box-shadow: 0 6px 18px rgba(16, 24, 40, .10);
}
.sp-step { display: flex; flex-direction: column; align-items: center; gap: 5px; font-size: 11px; color: #9aa1af; }
.sp-step i {
  width: 28px; height: 28px; border-radius: 50%; background: #e6e9ee; color: #9aa1af;
  font-style: normal; font-weight: 700; display: flex; align-items: center; justify-content: center; font-size: 13px;
  transition: all .2s ease;
}
.sp-step.on i { background: linear-gradient(135deg, #ff6900, #ff9a4d); color: #fff; box-shadow: 0 4px 10px rgba(255, 105, 0, .3); }
.sp-step.on { color: #ff6900; font-weight: 600; }
.sp-line { flex: 1; height: 2px; background: #e6e9ee; margin: 13px 8px 0; border-radius: 2px; }
.sp-line.on { background: linear-gradient(90deg, #ff6900, #ff9a4d); }

.settle-card {
  background: #fff; border-radius: 14px; border: 1px solid #eef0f4;
  box-shadow: 0 3px 12px rgba(16, 24, 40, .06); margin: 12px 14px 0; padding: 16px;
}
.sc-head { font-size: 15px; font-weight: 700; color: #1f2430; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.sc-head::after { content: ''; flex: 1; height: 1px; background: #f0f2f5; margin-left: 8px; }
.sc-ico {
  width: 30px; height: 30px; border-radius: 9px; background: #fff4ec;
  display: inline-flex; align-items: center; justify-content: center; font-size: 16px;
}

.agree-box {
  background: #fafbfc; border: 1px solid #eef0f4; border-radius: 10px;
  padding: 12px 14px; max-height: 240px; overflow: auto;
}
.agree-title { font-weight: 700; font-size: 13px; color: #333; margin-bottom: 8px; }
.agree-box ol { font-size: 12px; color: #666; line-height: 1.9; padding-left: 16px; }

.agree-check { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #444; margin: 12px 2px 4px; }
.agree-check input { width: 17px; height: 17px; accent-color: #ff6900; }

.settle-main-btn {
  display: block; width: 100%; margin: 16px 0 0;
  padding: 13px; border-radius: 12px; font-size: 15px; font-weight: 700;
  box-shadow: 0 8px 18px rgba(255, 105, 0, .25);
}
.settle-main-btn.outer { width: calc(100% - 28px); margin: 16px 14px 0; }

.settle-field { margin-bottom: 12px; }
.settle-field label { display: block; font-size: 12px; color: #8a92a3; margin-bottom: 5px; font-weight: 600; }
.settle-required { color: #e53935; font-style: normal; font-weight: 700; margin-left: 3px; }
.settle-required-note { margin: -2px 0 12px; color: #8a92a3; font-size: 12px; }
.settle-required-note .settle-required { margin-left: 0; margin-right: 4px; }
.settle-field input, .settle-field select {
  width: 100%; border: 1px solid #e5e8ee; border-radius: 10px; padding: 11px 12px;
  font-size: 14px; background: #fff; transition: border-color .15s ease, box-shadow .15s ease;
}
.settle-field input:focus, .settle-field select:focus { border-color: #ff6900; box-shadow: 0 0 0 3px rgba(255, 105, 0, .12); outline: none; }
.settle-row { display: flex; gap: 10px; }
.settle-row .half { flex: 1; min-width: 0; }
.cap-wrap { display: flex; align-items: center; gap: 8px; }
.cap-wrap input { flex: 1; min-width: 0; }

.settle-tip {
  background: #fff7ec; border: 1px solid #ffe3c2; color: #b26a00;
  font-size: 12px; border-radius: 8px; padding: 8px 10px; margin-top: 4px; line-height: 1.6;
}
.settle-safe { text-align: center; font-size: 11px; color: #b6bcc8; margin: 12px 0 4px; }

.settle-card.done { text-align: center; padding: 36px 20px; }
.done-circle {
  width: 74px; height: 74px; border-radius: 50%; background: linear-gradient(135deg, #07c160, #3ee08a);
  color: #fff; font-size: 38px; font-weight: 800; display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px; box-shadow: 0 12px 26px rgba(7, 193, 96, .3); animation: popIn .4s ease;
}
@keyframes popIn { 0% { transform: scale(.4); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }
.settle-card.done h2 { font-size: 19px; margin-bottom: 8px; }
.settle-card.done p { font-size: 13px; color: #666; line-height: 1.8; margin-bottom: 18px; }
.settle-card.done .settle-main-btn { width: 100%; margin: 0 0 10px; }
.done-link { display: inline-block; margin-top: 8px; font-size: 13px; }

.settle-footer { text-align: center; color: #b6bcc8; font-size: 11px; padding: 22px 0 30px; }

/* ---------- 买家端商家入驻落地页 ---------- */
.settle-landing { padding: 0 0 30px; }
.settle-landing .landing-btn {
  display: inline-block; background: #fff; color: #ff6900; font-weight: 800;
  padding: 11px 30px; border-radius: 999px; font-size: 14px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, .14);
}
.landing-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 14px 14px 0; }
.lc {
  background: #fff; border: 1px solid #eef0f4; border-radius: 14px; padding: 14px 8px;
  display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center;
  box-shadow: 0 2px 8px rgba(16, 24, 40, .05);
}
.lc i { font-style: normal; font-size: 24px; }
.lc b { font-size: 13px; color: #1f2430; }
.lc span { font-size: 10px; color: #8a92a3; line-height: 1.5; }

/* ===== 后台界面 3.0：全模块统一人性化美化 ===== */

/* 状态胶囊徽章（所有板块的状态列自动变好看） */
.status-ok, .status-warn, .status-bad {
  display: inline-block; padding: 2px 11px; border-radius: 999px;
  font-size: 12px; font-weight: 600; line-height: 1.7; white-space: nowrap;
}
.status-ok { color: #0a9e5c; background: #e8f8ef; }
.status-warn { color: #b26a00; background: #fff4e0; }
.status-bad { color: #d9383d; background: #fdecec; }
.num-pos { color: #0a9e5c; font-weight: 700; }
.num-neg { color: #d9383d; font-weight: 700; }

/* 表格升级 */
.admin-page .table-wrap {
  border: 1px solid #eef0f4; border-radius: 12px;
  box-shadow: 0 2px 10px rgba(16, 24, 40, .05); overflow: hidden;
}
.admin-table th {
  background: linear-gradient(180deg, #fafbfc, #f3f5f8);
  color: #4b5261; font-weight: 700; letter-spacing: .3px;
  padding: 11px 12px; border-bottom: 1px solid #e8ebf0;
}
.admin-table td { padding: 11px 12px; vertical-align: middle; }
.admin-table tbody tr { transition: background .12s ease; }
.admin-table tbody tr:hover, .admin-table tbody tr:nth-child(even):hover { background: #fff5ec; }
.admin-table tr th:first-child, .admin-table tr td:first-child { padding-left: 16px; }
.admin-table td .muted { font-size: 11px; }
.table-wrap::-webkit-scrollbar { height: 8px; }
.table-wrap::-webkit-scrollbar-thumb { background: #d8dce4; border-radius: 4px; }

/* 工具栏统一 */
.admin-toolbar { align-items: center; }
.admin-toolbar input, .admin-toolbar select {
  border-radius: 10px; padding: 9px 13px; border-color: #e0e4ea;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04); transition: all .15s ease;
}
.admin-toolbar input::placeholder { color: #b0b6c2; }
.admin-toolbar input:focus, .admin-toolbar select:focus {
  border-color: #ff6900; box-shadow: 0 0 0 3px rgba(255, 105, 0, .12);
}
.admin-toolbar .btn-primary, .admin-toolbar .btn-plain { padding: 9px 18px; border-radius: 10px; }

/* 按钮统一 */
.btn-mini { border-radius: 999px; padding: 5px 13px; font-weight: 600; }
.btn-mini.primary { background: #fff4ec; border-color: #ffd6bc; }
.btn-mini.danger { border-color: #f5c2c4; color: #d9383d; background: #fff5f5; }
.btn-mini.danger:hover { border-color: #d9383d; background: #fdecec; }
.btn-plain:hover { background: #fff4ec; border-color: #ff9a4d; }
.btn-plain:disabled, .btn-primary:disabled, .btn-mini:disabled { opacity: .45; cursor: not-allowed; }

/* 卡片与表单 */
.admin-page .card { border: 1px solid #eef0f4; border-radius: 12px; box-shadow: 0 2px 10px rgba(16, 24, 40, .04); }
.kv { padding: 8px 0; align-items: center; }
.kv > span:first-child { color: #7c8497; font-size: 12px; flex-shrink: 0; min-width: 76px; }
.kv input, .kv select {
  border: 1px solid #e0e4ea; border-radius: 8px; padding: 8px 10px; font-size: 13px;
}
.kv input:focus, .kv select:focus { border-color: #ff6900; outline: none; box-shadow: 0 0 0 3px rgba(255, 105, 0, .12); }
.kv input[type="checkbox"] { accent-color: #ff6900; }

/* 弹窗 */
.modal-mask { backdrop-filter: blur(3px); }
.modal-box { border-radius: 16px; box-shadow: 0 24px 70px rgba(16, 24, 40, .25); }
.modal-box h3 { font-size: 16px; font-weight: 700; }
.modal-box .btn-block { border-radius: 10px; }

/* 页头 */
.admin-page h2 { font-weight: 800; letter-spacing: .2px; }
.admin-page h2 .muted { font-size: 12px; font-weight: 400; margin-left: 4px; }

/* 店铺搜索选择 */
.shop-results { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.shop-item {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px;
  background: #fafbfc; border: 1px solid #eef0f4; border-radius: 10px;
  cursor: pointer; transition: all .15s ease;
}
.shop-item:hover { border-color: #ff6900; background: #fff5ec; }
.shop-name { font-weight: 700; font-size: 13px; color: #1f2430; min-width: 120px; }
.shop-sub { flex: 1; font-size: 12px; color: #8a92a3; }
.shop-pick { background: #fff; border: 1px solid #ffd6bc; color: #ff6900; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 999px; }

/* 角色权限分组 */
.perm-group {
  margin-bottom: 10px; border: 1px solid #eef0f4; border-radius: 10px;
  padding: 10px 12px; background: #fafbfc;
}
.perm-group-head { display: flex; align-items: center; gap: 8px; cursor: pointer; font-size: 13px; }
.perm-group-head b { color: #1f2430; }
.perm-group-head .muted { font-size: 11px; }

/* ---------- 客服聊天界面 ---------- */
.chat-wrap { display: flex; gap: 14px; align-items: stretch; min-height: 62vh; }
.chat-sessions {
  width: 264px; flex-shrink: 0; background: #fff; border: 1px solid #eef0f4;
  border-radius: 12px; overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 2px 10px rgba(16, 24, 40, .05);
}
.cs-head { padding: 12px 14px; font-weight: 700; font-size: 13px; border-bottom: 1px solid #f0f2f5; display: flex; justify-content: space-between; align-items: center; }
.cs-list { flex: 1; overflow-y: auto; }
.cs-item { padding: 10px 12px; border-bottom: 1px solid #f6f7f9; cursor: pointer; transition: background .12s; }
.cs-item:hover { background: #fff7f0; }
.cs-item.active { background: #fff1e8; border-left: 3px solid #ff6900; }
.cs-item .cs-name { font-size: 13px; font-weight: 600; color: #1f2430; display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.cs-item .cs-last { font-size: 11px; color: #9aa1af; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cs-item .cs-time { font-size: 10px; color: #b6bcc8; font-weight: 400; flex-shrink: 0; }
.cs-badge { display: inline-block; background: #ff6900; color: #fff; font-size: 10px; border-radius: 999px; padding: 2px 8px; font-weight: 600; }
.chat-panel {
  flex: 1; min-width: 0; background: #fff; border: 1px solid #eef0f4;
  border-radius: 12px; display: flex; flex-direction: column; overflow: hidden;
  box-shadow: 0 2px 10px rgba(16, 24, 40, .05);
}
.cp-head { padding: 12px 16px; border-bottom: 1px solid #f0f2f5; font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; background: #f7f8fa; min-height: 380px; }
.chat-msg { display: flex; margin-bottom: 12px; gap: 8px; }
.chat-msg .cm-avatar {
  width: 30px; height: 30px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0; background: #ffe8d8;
}
.chat-msg .cm-avatar.agent-photo { padding: 0; overflow: hidden; background: #fff; border: 1px solid #e4e7ec; }
.chat-msg .cm-avatar.agent-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.support-head-avatar { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; box-shadow: 0 1px 5px rgba(0,0,0,.16); }
.chat-msg.mine { flex-direction: row-reverse; }
.chat-msg.mine .cm-avatar { background: #ffd6bc; }
.chat-msg .cm-main { max-width: 70%; min-width: 0; }
.chat-msg .cm-bubble {
  padding: 9px 13px; border-radius: 12px; font-size: 13px; line-height: 1.55;
  word-break: break-word; background: #fff; border: 1px solid #eef0f4;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .05); white-space: pre-wrap;
}
.chat-msg.mine .cm-bubble { background: #ff6900; color: #fff; border: none; border-top-right-radius: 4px; }
.chat-msg:not(.mine) .cm-bubble { border-top-left-radius: 4px; }
.chat-msg .cm-time { font-size: 10px; color: #b6bcc8; margin-top: 4px; }
.chat-msg.mine .cm-time { text-align: right; }
.chat-input { display: flex; gap: 10px; padding: 12px; border-top: 1px solid #f0f2f5; background: #fff; }
.chat-input input { flex: 1; border: 1px solid #e0e4ea; border-radius: 20px; padding: 10px 16px; font-size: 13px; }
.chat-input input:focus { outline: none; border-color: #ff6900; box-shadow: 0 0 0 3px rgba(255, 105, 0, .12); }
.chat-image-btn { width: 42px; min-width: 42px; height: 42px; border: 1px solid #e0e4ea; border-radius: 50%; background: #fff; cursor: pointer; font-size: 19px; }
.chat-image-btn:hover { border-color: #ff6900; background: #fff7f2; }
.chat-image-btn:disabled { opacity: .5; cursor: not-allowed; }
.cm-bubble.cm-image-bubble { padding: 4px; background: transparent; border: 0; box-shadow: none; }
.chat-image { display: block; width: auto; max-width: min(240px, 58vw); max-height: 300px; border-radius: 10px; object-fit: cover; cursor: zoom-in; background: #f2f3f5; }
.chat-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 12px 0; }
.chat-quick span { background: #fff; border: 1px solid #ffd6bc; color: #ff6900; font-size: 12px; padding: 5px 12px; border-radius: 999px; cursor: pointer; transition: all .15s; }
.chat-quick span:hover { background: #fff4ec; }
.support-chat { margin: 12px 10px 0; border: 1px solid #eef0f4; border-radius: 14px; overflow: hidden; background: #f7f8fa; }
.support-chat .chat-body { min-height: 52vh; }
.support-chat .chat-input { position: sticky; bottom: 0; }
.cs-online { font-size: 11px; color: #07a35a; display: flex; align-items: center; gap: 4px; font-weight: 400; }
.cs-online i { width: 7px; height: 7px; border-radius: 50%; background: #07c160; display: inline-block; }
@media (max-width: 900px) {
  .chat-wrap { flex-direction: column; }
  .chat-sessions { width: 100%; max-height: 220px; }
}
/* ================================================================
   统一设计规范（作用域：移动端 .page / .settle-page，后台 .admin-page）
   ================================================================ */
:root {
  --primary: #ff6900;
  --primary-grad: linear-gradient(135deg, #ff6900, #ff8f3d);
  --radius: 14px;
  --radius-sm: 10px;
  --border: #eef0f4;
  --text: #1f2430;
  --muted: #8a93a3;
  --ok: #0a9e5c;
  --warn: #b26a00;
  --bad: #d9383d;
}

/* ---------- 移动端通用（买家 / 卖家 / 入驻） ---------- */
.page .btn-primary, .settle-page .btn-primary {
  background: var(--primary-grad);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(255, 105, 0, .22);
  transition: transform .15s ease, filter .15s ease;
  cursor: pointer;
}
.page .btn-primary:active, .settle-page .btn-primary:active { transform: scale(.97); }
.page .btn-mini, .settle-page .btn-mini {
  border: 1px solid #dcdfe6;
  background: #fff;
  color: #555;
  border-radius: 8px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all .15s ease;
}
.page .btn-mini:active, .settle-page .btn-mini:active { opacity: .7; }
.page .btn-mini.primary, .settle-page .btn-mini.primary { border-color: var(--primary); color: var(--primary); background: #fff7f0; }
.page .btn-mini.danger, .settle-page .btn-mini.danger { border-color: #f0b3b5; color: var(--bad); background: #fff7f7; }
.page .btn-plain, .settle-page .btn-plain {
  background: #fff;
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 8px;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}
.page .btn-ghost, .settle-page .btn-ghost {
  border: 1px solid #dcdfe6;
  background: #fff;
  color: #555;
  border-radius: 8px;
  padding: 6px 14px;
  font-size: 12px;
  cursor: pointer;
}
.page .card, .settle-page .card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 1px 3px rgba(16, 24, 40, .05);
  margin: 10px;
  padding: 14px;
}
.page .topbar, .settle-page .topbar { background: #fff; }
.page .topbar h1, .settle-page .topbar h1 { font-size: 17px; font-weight: 700; color: var(--text); margin: 0; }
.page .section-title, .settle-page .section-title { font-size: 15px; font-weight: 700; color: var(--text); }
.page .kv, .settle-page .kv { font-size: 13px; }
.page .kv > span:first-child, .settle-page .kv > span:first-child { color: var(--muted); }
.page .empty, .settle-page .empty {
  text-align: center;
  padding: 32px 16px;
  font-size: 13px;
  color: var(--muted);
  background: #fff;
  border: 1px dashed #e3e7ee;
  border-radius: 12px;
  margin: 10px;
}
.page input, .page select, .page textarea,
.settle-page input, .settle-page select, .settle-page textarea {
  border: 1px solid #e2e6ee;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  color: var(--text);
  background: #fff;
  box-sizing: border-box;
}
.page input:focus, .page select:focus, .page textarea:focus,
.settle-page input:focus, .settle-page select:focus, .settle-page textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 105, 0, .12);
}
.page .list-item, .settle-page .list-item { background: #fff; }
.page .list-item:active, .settle-page .list-item:active { background: #fafbfc; }
.page .order-item, .settle-page .order-item { background: #fff; }
.page .muted, .settle-page .muted { color: var(--muted); }
.page .link, .settle-page .link { color: var(--primary); }
.page .toast-msg, .settle-page .toast-msg { border-radius: 999px; }

/* ---------- 后台统一（总后台 / 代理商 / 客服） ---------- */
.admin-page .admin-toolbar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}
.admin-page .admin-toolbar input, .admin-page .admin-toolbar select {
  border: 1px solid #e2e6ee;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 13px;
  background: #fff;
  color: var(--text);
  box-sizing: border-box;
}
.admin-page .admin-toolbar input:focus, .admin-page .admin-toolbar select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 105, 0, .12);
}
.admin-page .btn-primary {
  background: var(--primary-grad);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 18px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(255, 105, 0, .22);
  cursor: pointer;
  transition: filter .15s ease;
}
.admin-page .btn-primary:hover { filter: brightness(1.06); }
.admin-page .btn-mini, .admin-page .btn-ghost {
  border: 1px solid #dcdfe6;
  background: #fff;
  color: #555;
  border-radius: 7px;
  padding: 5px 12px;
  font-size: 12px;
  cursor: pointer;
  transition: all .15s ease;
}
.admin-page .btn-mini:hover, .admin-page .btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.admin-page .btn-mini.primary { border-color: var(--primary); color: var(--primary); background: #fff7f0; }
.admin-page .btn-mini.danger { border-color: #f0b3b5; color: var(--bad); background: #fff7f7; }
.admin-page .btn-plain {
  background: #fff;
  border: 1px solid #dcdfe6;
  color: #3a4252;
  border-radius: 8px;
  padding: 8px 16px;
  font-size: 13px;
  cursor: pointer;
}
.admin-page .table-wrap {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(16, 24, 40, .04);
}
.admin-page .admin-table { border-collapse: collapse; width: 100%; }
.admin-page .admin-table th {
  background: #f7f8fa;
  color: #5b6472;
  font-size: 12px;
  font-weight: 600;
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #eef0f4;
  white-space: nowrap;
}
.admin-page .admin-table td {
  padding: 10px 12px;
  font-size: 13px;
  color: var(--text);
  border-bottom: 1px solid #f4f5f8;
}
.admin-page .admin-table tbody tr:hover { background: #fafbfc; }
.admin-page .admin-table tbody tr:last-child td { border-bottom: none; }
.admin-page .card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(16, 24, 40, .04);
  margin: 0 0 16px;
  padding: 16px;
}
.admin-page .modal-box {
  border-radius: 14px;
  box-shadow: 0 12px 40px rgba(16, 24, 40, .18);
}
.admin-page .status-ok, .admin-page .status-warn, .admin-page .status-bad {
  display: inline-block;
  padding: 2px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.7;
  white-space: nowrap;
}
.admin-page .status-ok { color: var(--ok); background: #e8f8ef; }
.admin-page .status-warn { color: var(--warn); background: #fff4e0; }
.admin-page .status-bad { color: var(--bad); background: #fdecec; }
.admin-page .empty {
  text-align: center;
  padding: 28px 0;
  font-size: 13px;
  color: var(--muted);
}
.admin-page h2 { font-size: 18px; color: var(--text); margin: 0 0 14px; }
.admin-page .muted { color: var(--muted); }

/* ================================================================
   PC 端适配（>= 900px）：移动端页面在电脑上不再显示为 480px 手机壳
   ================================================================ */
@media (min-width: 900px) {
  /* 买家端 / 卖家端：主容器放宽并居中，带阴影呈现为独立应用面板 */
  .buyer-body #app, .seller-body #app { max-width: none; }
  .settle-body #app { max-width: 920px; }
  .admin-body #app { max-width: none; }

  /* 通用：页面内容限宽，卡片/列表在宽屏下居中收窄，避免全宽拉伸 */
  .buyer-body .page, .seller-body .page { max-width: 1100px; margin: 0 auto; background: #f5f6f8; }
  .buyer-body .card, .seller-body .card,
  .buyer-body .wallet-card, .seller-body .wallet-card,
  .buyer-body .stat-card, .seller-body .stat-card,
  .buyer-body .menu-grid, .seller-body .menu-grid { max-width: 860px; margin-left: auto; margin-right: auto; }
  .buyer-body .order-item, .seller-body .order-item,
  .buyer-body .list-item, .seller-body .list-item { max-width: 760px; margin-left: auto; margin-right: auto; }
  .buyer-body .empty, .seller-body .empty { max-width: 860px; margin-left: auto; margin-right: auto; }

  /* 底部导航：跟随主容器居中 */
  .buyer-body .bottom-nav { max-width: 1100px; left: 50%; right: auto; transform: translateX(-50%); border-radius: 14px 14px 0 0; box-shadow: 0 -2px 12px rgba(16,24,40,.06); }

  /* 买家首页：顶栏、Banner、金刚区、分类、商品网格按宽屏扩展 */
  .buyer-body .home-topbar { padding: 12px 24px; }
  .buyer-body .banner-wrap { margin: 18px 22px 0; }
  .buyer-body .banner-slide { min-height: 220px; }
  .buyer-body .king-kong { margin: 14px 22px; }
  .buyer-body .cat-strip { padding: 6px 22px 12px; }
  .buyer-body .op-bar { margin-left: 22px; margin-right: 22px; }
  .buyer-body .section-title { padding: 16px 22px 8px; }
  .buyer-body .goods-grid { grid-template-columns: repeat(4, 1fr); gap: 14px; padding: 4px 22px 16px; }
  .buyer-body .goods-card { border-radius: 12px; }
  .buyer-body .home-footer { padding: 18px 22px; }

  /* 商品列表页 */
  .buyer-body .commodity-page .goods-grid { grid-template-columns: repeat(4, 1fr); }

  /* 商品详情：内容居中限宽，操作区横排 */
  .buyer-body .detail-wrap { max-width: 860px; margin: 0 auto; }
  .buyer-body .detail-buybar { max-width: 860px; left: 50%; transform: translateX(-50%); }

  /* 购物车 / 订单 / 我的 等列表页：窄列表居中 */
  .buyer-body .cart-page, .buyer-body .order-page { max-width: 760px; margin: 0 auto; }

  /* 卖家首页：经营面板横向排布 */
  .seller-body .wallet-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
  .seller-body .wallet-card .bal { margin: 0 12px; }
  .seller-body .order-status-grid { grid-template-columns: repeat(4, 1fr); }
  .seller-body .traffic-grid { grid-template-columns: repeat(3, 1fr); }
  .seller-body .stat-grid.cols4 { grid-template-columns: repeat(4, 1fr); }
  .seller-body .menu-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; padding: 18px 20px; }

  /* 卖家订单页：订单卡居中收窄 */
  .seller-body .orders-wrap { max-width: 760px; margin: 0 auto; }

  /* 入驻页：内容居中，双列表单 */
  .settle-body .settle-hero { padding: 44px 24px; }
  .settle-body .settle-card { max-width: 860px; margin: 0 auto 18px; }
  .settle-body .settle-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; }
  .settle-body .settle-main-btn { max-width: 420px; margin: 0 auto; display: block; }
  .settle-body .settle-safe, .settle-body .settle-footer { text-align: center; }
  .settle-body .settle-progress { max-width: 720px; margin: 0 auto; }

  /* 登录页：保持居中，卡片限宽 */
  .buyer-body .login-wrap .login-box, .seller-body .login-wrap .login-box { max-width: 420px; width: 100%; }

  /* 语言切换浮层：在宽屏下跟随主容器右上角 */
  .buyer-body .lang-switch, .seller-body .lang-switch { top: 58px; right: calc(50% - 550px + 14px); }
  .settle-body .lang-switch { top: 58px; right: calc(50% - 460px + 14px); }
}

/* ===== PC 端顶部导航（买家端）===== */
.pc-header { display: none; }
@media (min-width: 1024px) {
  .pc-header { display: block; position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid #f0f0f0; box-shadow: 0 2px 12px rgba(16,24,40,.05); }
  .pc-header-inner { max-width: 1920px; margin: 0 auto; display: flex; align-items: center; gap: 18px; padding: 12px 32px; }
  .pc-logo { font-size: 21px; font-weight: 800; color: #ff6900; text-decoration: none; white-space: nowrap; }
  .pc-search { flex: 1; max-width: 430px; display: flex; align-items: center; gap: 8px; background: #f5f6f8; border: 1px solid #eef0f3; border-radius: 999px; padding: 9px 16px; cursor: pointer; color: #888; font-size: 13px; transition: border-color .15s; }
  .pc-search:hover { border-color: #ffd6bc; }
  .pc-nav { display: flex; gap: 6px; margin-left: auto; }
  .pc-nav a { padding: 8px 16px; border-radius: 999px; font-size: 14px; color: #333; text-decoration: none; transition: all .15s; }
  .pc-nav a:hover, .pc-nav a.router-link-active { background: #fff1e8; color: #ff6900; }
  .pc-header .pc-lang { position: static; }

  /* PC：隐藏手机底部导航与页内独立语言开关 */
  .buyer-body .bottom-nav { display: none; }
  .buyer-body .page > .lang-switch { display: none; }

  /* 手机版首页顶部栏在 PC 隐藏，避免与头部搜索重复 */
  .buyer-body .home-topbar { display: none; }

  /* 主容器全宽铺满（对齐示例站），内容上限 1920 */
  .buyer-body #app, .seller-body #app { max-width: none; }
  .buyer-body .page, .seller-body .page { max-width: 1920px; }
  .buyer-body .goods-grid { grid-template-columns: repeat(5, 1fr); }
  .buyer-body .commodity-page .goods-grid { grid-template-columns: repeat(5, 1fr); }

  /* 卖家端：顶栏更宽松，订单/商品列表两栏网格 */
  .seller-body .topbar { padding: 14px 26px; }
  .seller-body .orders-wrap { max-width: 920px; }
  .seller-body .list-item { max-width: 920px; }
}
.lang-row { display: flex; gap: 8px; flex-wrap: wrap; }
.lang-chip { display: inline-flex; align-items: center; padding: 4px 12px; border: 1px solid #e5e7eb; border-radius: 999px; font-size: 12px; color: #555; background: #fff; cursor: pointer; }
.lang-chip.on { border-color: #ff6900; color: #ff6900; background: #fff7f0; font-weight: 600; }
.lang-switch { position: fixed; top: 50px; right: 10px; z-index: 9999; }
.lang-btn { display: inline-flex; align-items: center; justify-content: center; gap: 4px; background: rgba(255,255,255,.94); border: 1px solid rgba(0,0,0,.08); border-radius: 50%; width: 32px; height: 32px; padding: 0; font-size: 12px; color: #333; box-shadow: 0 2px 8px rgba(0,0,0,.10); cursor: pointer; user-select: none; }
.lang-switch .flag { font-size: 15px; line-height: 1; }
.lang-switch .lang-name, .lang-switch .caret { display: none; }
.lang-settings { padding: 4px 0; }
.lang-opt-row { display: flex; align-items: center; gap: 10px; padding: 13px 14px; border-bottom: 1px solid #f5f6f8; cursor: pointer; }
.lang-opt-row:last-child { border-bottom: none; }
.lang-opt-row .flag { font-size: 20px; line-height: 1; }
.lang-opt-row .lang-opt-name { flex: 1; font-size: 14px; color: #333; }
.lang-opt-row.on .lang-opt-name { color: #ff6900; font-weight: 600; }
.lang-opt-check { color: #07c160; font-size: 16px; font-weight: 700; }
.lang-menu { position: absolute; top: calc(100% + 6px); right: 0; background: #fff; border: 1px solid #eef0f3; border-radius: 10px; box-shadow: 0 8px 24px rgba(0,0,0,.12); min-width: 158px; max-height: 62vh; overflow-y: auto; padding: 6px; }
.lang-opt { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 8px; font-size: 13px; color: #333; cursor: pointer; }
.lang-opt.on { background: #fff7f0; color: #ff6900; font-weight: 600; }
.lang-opt .ok { margin-left: auto; color: #ff6900; }
.lang-opt img.flag-img, .lang-btn img.flag-img { width: 20px; height: 14px; object-fit: cover; border-radius: 2px; }
@media (min-width: 1025px) {
  .pc-header .lang-btn { border-radius: 999px; width: auto; height: auto; padding: 5px 11px; gap: 5px; }
  .pc-header .lang-switch .lang-name, .pc-header .lang-switch .caret { display: inline; }
  .pc-header .lang-switch .lang-name { font-weight: 500; }
  .pc-header .lang-switch .caret { font-size: 10px; color: #888; margin-left: 1px; }
}
.logistics-block { margin-top: 4px; }
.list-item.picked { border: 1px solid #ff6900; background: #fff7f0; }
.lg-timeline { position: relative; padding: 4px 0 0 4px; }
.lg-item { display: flex; gap: 10px; position: relative; padding-bottom: 12px; }
.lg-item:last-child { padding-bottom: 2px; }
.lg-dot { width: 10px; height: 10px; border-radius: 50%; background: #ff6900; margin-top: 4px; flex-shrink: 0; position: relative; z-index: 1; }
.lg-item:not(:last-child)::before { content: ''; position: absolute; left: 4px; top: 14px; bottom: 0; width: 2px; background: #ffe3d1; }
.lg-body { flex: 1; }
.lg-text { font-size: 13px; color: #333; }
.lg-time { font-size: 11px; color: #a0a6b4; margin-top: 2px; }
.seller-picker { margin-bottom: 10px; }
.seller-list { max-height: 220px; overflow-y: auto; border: 1px solid #eef0f3; border-radius: 8px; margin-top: 8px; }
.seller-opt { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 12px; border-bottom: 1px solid #f5f6f8; cursor: pointer; }
.seller-opt:last-child { border-bottom: none; }
.seller-opt:hover { background: #fff7f0; }
.seller-opt.off { opacity: .5; cursor: not-allowed; }
.picked-seller { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #fff7f0; border: 1px solid #ffd6bc; border-radius: 8px; padding: 10px 12px; margin-top: 8px; }
.recharge-addr { background: #fafbfc; border: 1px dashed #e2e4e8; border-radius: 10px; padding: 12px; margin: 10px 0; text-align: center; }
.qr-wrap { display: flex; justify-content: center; margin-bottom: 8px; }
.qr-box { background: #fff; padding: 8px; border-radius: 8px; display: inline-block; }
.addr-row { display: flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #eef0f3; border-radius: 8px; padding: 6px 8px; }
.addr-text { flex: 1; font-size: 11px; color: #333; word-break: break-all; text-align: left; font-family: monospace; }

/* ===== 强制手机版（?h5=1 / 手机版按钮）===== */
html.force-h5 .buyer-body #app,
html.force-h5 .seller-body #app { max-width: 480px !important; }
html.force-h5 .buyer-body .page,
html.force-h5 .seller-body .page { max-width: 480px; }
html.force-h5 .pc-header { display: none !important; }
html.force-h5 .buyer-body .bottom-nav { display: flex !important; max-width: 480px; left: 0; right: 0; transform: none; border-radius: 16px 16px 0 0; }
html.force-h5 .buyer-body .home-topbar { display: flex !important; padding: 12px 14px; }
html.force-h5 .buyer-body .goods-grid { grid-template-columns: 1fr 1fr !important; padding: 10px; gap: 10px; }
html.force-h5 .buyer-body .commodity-page .goods-grid { grid-template-columns: 1fr 1fr !important; }
html.force-h5 .buyer-body .card, html.force-h5 .seller-body .card,
html.force-h5 .buyer-body .order-item, html.force-h5 .seller-body .order-item,
html.force-h5 .buyer-body .list-item, html.force-h5 .seller-body .list-item,
html.force-h5 .buyer-body .wallet-card, html.force-h5 .seller-body .wallet-card,
html.force-h5 .buyer-body .menu-grid, html.force-h5 .seller-body .menu-grid { max-width: none; }
html.force-h5 .buyer-body .banner-wrap { margin: 10px 12px 0; }
html.force-h5 .buyer-body .banner-slide { min-height: 150px; }
html.force-h5 .buyer-body .king-kong { margin: 10px 12px; }
html.force-h5 .buyer-body .op-bar { margin-left: 12px; margin-right: 12px; }
html.force-h5 .buyer-body .section-title { padding: 12px 14px 4px; }
html.force-h5 .buyer-body .cat-strip { padding: 4px 14px 10px; }
html.force-h5 .buyer-body .home-footer { padding: 14px; }
html.force-h5 .buyer-body .page > .lang-switch { display: flex !important; }
html.force-h5 .buyer-body .lang-switch { top: 54px; right: 12px; }
html.force-h5 .seller-body .topbar { padding: 12px 14px; }
html.force-h5 .seller-body .orders-wrap, html.force-h5 .seller-body .list-item { max-width: none; }

/* ===== 示例站设计令牌（--nova-*）===== */
:root {
  --nova-brand: #ff6900;
  --nova-brand-dark: #e05c00;
  --nova-brand-soft: #fff0e6;
  --nova-promo-bg: #ede8f8;
  --nova-promo-ink: #1a1a1a;
  --nova-ink: #111;
  --nova-ink-secondary: #666;
  --nova-ink-muted: #aaa;
  --nova-page: #fff;
  --nova-surface: #fff;
  --nova-surface-2: #f7f7f7;
  --nova-line: #f0f0f0;
  --nova-line-strong: #e5e5e5;
  --nova-price: #ff6900;
  --nova-radius-sm: 10px;
  --nova-radius-md: 16px;
  --nova-radius-lg: 20px;
  --nova-radius-pill: 999px;
  --nova-shadow-sm: 0 2px 12px rgba(0,0,0,.04);
  --nova-shadow-md: 0 4px 24px rgba(0,0,0,.06);
  --nova-shadow-lg: 0 8px 32px rgba(0,0,0,.08);
  --nova-space: 20px;
}

/* PC 买家端应用示例站设计语言 */
@media (min-width: 1024px) {
  .buyer-body { background: var(--nova-surface-2); }
  .buyer-body #app { box-shadow: var(--nova-shadow-lg); }
  .pc-header { background: var(--nova-page); border-bottom: 1px solid var(--nova-line); box-shadow: var(--nova-shadow-sm); }
  .pc-logo { color: var(--nova-brand); }
  .pc-search { background: var(--nova-surface-2); border-color: var(--nova-line); color: var(--nova-ink-muted); }
  .pc-search:hover { border-color: var(--nova-brand); }
  .pc-nav a:hover, .pc-nav a.router-link-active { background: var(--nova-brand-soft); color: var(--nova-brand); }
  .buyer-body .goods-card { border-radius: var(--nova-radius-md); box-shadow: var(--nova-shadow-sm); transition: transform .2s ease, box-shadow .2s ease; overflow: hidden; }
  .buyer-body .goods-card:hover { transform: translateY(-3px); box-shadow: var(--nova-shadow-md); }
  .buyer-body .goods-card .gimg { border-radius: var(--nova-radius-md) var(--nova-radius-md) 0 0; }
  .buyer-body .gprice { color: var(--nova-price); }
  .buyer-body .section-title { font-size: 18px; font-weight: 700; }
  .buyer-body .op-bar { border-radius: var(--nova-radius-md); }
  .buyer-body .cat-tab { border-radius: var(--nova-radius-sm); }
  .buyer-body .home-footer { background: #212121; color: #aaa; border-radius: var(--nova-radius-lg) var(--nova-radius-lg) 0 0; padding: 26px 24px; }
  .buyer-body .home-footer .link { color: #ff9d28; }
  .buyer-body .banner-slide { border-radius: var(--nova-radius-lg); overflow: hidden; }
  .buyer-body .btn-primary { border-radius: var(--nova-radius-pill); }
  .buyer-body .chip { border-radius: var(--nova-radius-pill); }
}

/* ===== 示例站风格深色页脚 ===== */
.home-footer { background: #212121; color: #fff; padding: 24px 16px 18px; }
.footer-subscribe { text-align: center; padding: 0 0 16px; }
.fs-title { font-size: 15px; font-weight: 700; margin-bottom: 12px; color: #fff; }
.fs-bar { display: flex; align-items: stretch; background: #3a3a3a; border-radius: 999px; overflow: hidden; max-width: 560px; margin: 0 auto; }
.fs-bar input { flex: 1; border: 0; outline: none; background: transparent; color: #fff; font-size: 13px; padding: 12px 16px; min-width: 0; }
.fs-bar button { border: 0; background: #fff; color: #ff6900; font-size: 13px; font-weight: 600; padding: 0 22px; white-space: nowrap; cursor: pointer; }
.footer-intro { text-align: center; color: #d5d5d5; font-size: 12px; padding: 0 0 16px; border-bottom: 1px solid #3f3f3f; }
.footer-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 20px; width: min(100%, 360px); margin: 0 auto; padding: 20px 16px; }
.fg-head { font-size: 13px; font-weight: 600; margin-bottom: 8px; color: #fff; }
.fg-link { display: block; margin-bottom: 8px; color: #d5d5d5; font-size: 12px; text-decoration: none; }
.fg-link:hover { color: #ff9d28; }
.footer-pay { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; padding: 14px 8px; border-top: 1px solid #3f3f3f; }
.pay-chip { width: 42px; height: 42px; border-radius: 50%; background: #444; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 700; }
.footer-copy { text-align: center; color: #6b6b6b; font-size: 12px; padding: 0 8px; line-height: 1.6; }
@media (min-width: 768px) {
  .home-footer { padding: 32px 24px 28px; }
  .buyer-body .home-footer { color: #fff; }
  .footer-grid { grid-template-columns: repeat(4, 1fr); width: 100%; max-width: 1400px; gap: 12px 32px; padding: 28px 0; }
  .footer-pay { padding-top: 20px; }
}

/* 首页公告条 */
.notice-bar { display: flex; align-items: center; gap: 8px; background: #fff7f0; border-bottom: 1px solid #ffe9dc; padding: 8px 14px; font-size: 12px; color: #e05c00; cursor: pointer; }
.nb-tag { flex-shrink: 0; background: #ff6900; color: #fff; border-radius: 4px; padding: 1px 6px; font-size: 11px; }
.nb-text { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nb-scroll { flex: 1; overflow: hidden; height: 30px; }
.nb-track { transition: transform .45s ease; }
.nb-item { height: 30px; line-height: 30px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 12px; color: #b35a00; }

/* 商品详情 PC 双栏 */
@media (min-width: 1024px) {
  .buyer-body .detail-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; max-width: 1100px; margin: 0 auto; padding: 24px 24px 0; }
  .buyer-body .detail-img { border-radius: var(--nova-radius-lg); overflow: hidden; box-shadow: var(--nova-shadow-sm); }
  .buyer-body .detail-img img { width: 100%; object-fit: cover; }
  .buyer-body .detail-info { padding: 14px 8px; }
  .buyer-body .detail-info h2 { font-size: 20px; line-height: 1.45; }
  .buyer-body .detail-info .price { font-size: 26px !important; }
  .buyer-body .detail-top + .card, .buyer-body .detail-top ~ .card { max-width: 860px; margin-left: auto; margin-right: auto; }
}

/* 分类页 PC 左侧分类栏 */
@media (min-width: 1024px) {
  .buyer-body .commodity-layout { display: grid; grid-template-columns: 230px 1fr; gap: 20px; max-width: 1600px; margin: 0 auto; padding: 16px 28px 24px; }
  .buyer-body .commodity-layout .chip-row { flex-direction: column; align-items: stretch; gap: 6px; position: sticky; top: 78px; height: max-content; padding: 0; }
  .buyer-body .commodity-layout .chip { text-align: left; border-radius: var(--nova-radius-sm); padding: 10px 14px; font-size: 13px; }
  .buyer-body .commodity-layout .commodity-main { min-width: 0; }
  .buyer-body .commodity-layout .commodity-main .goods-grid { grid-template-columns: repeat(4, 1fr); padding: 0; }
  .buyer-body .commodity-layout .commodity-main .empty { margin: 0; }
  .buyer-body .commodity-layout .cat-panel { display: flex; flex-direction: column; align-items: stretch; gap: 6px; padding: 0; position: sticky; top: 78px; height: max-content; max-height: calc(100vh - 100px); overflow-y: auto; }
  .buyer-body .commodity-layout .cat-panel { margin: 0; background: #f7f8fa; border-radius: 12px; padding: 10px; box-shadow: none; }
  .buyer-body .commodity-layout .cat-panel .chip { flex-direction: row; justify-content: flex-start; gap: 8px; padding: 8px 10px; font-size: 13px; height: auto; border: 1px solid #eef0f3; }
  .buyer-body .commodity-layout .cat-panel .chip .cat-ico { font-size: 15px; width: 26px; height: 26px; flex: none; }
  .buyer-body .commodity-layout .cat-panel .more-chip { display: none; }
  .buyer-body .commodity-layout .commodity-head input.inp { max-width: 360px; }
}

/* 卖家端 PC 左侧导航 */
.pc-sidebar { display: none; }
@media (min-width: 1024px) {
  .seller-body .seller-page { display: grid; grid-template-columns: 230px 1fr; max-width: 1600px; margin: 0 auto; min-height: 100vh; }
  .seller-body .pc-sidebar { display: flex; flex-direction: column; gap: 4px; background: #fff; border-right: 1px solid var(--nova-line); padding: 16px 12px; position: sticky; top: 0; height: 100vh; overflow-y: auto; }
  .seller-body .ps-brand { font-size: 17px; font-weight: 800; color: var(--nova-brand); padding: 6px 10px 14px; }
  .seller-body .ps-link { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; color: #333; text-decoration: none; font-size: 13px; }
  .seller-body .ps-link:hover, .seller-body .ps-link.router-link-active { background: var(--nova-brand-soft); color: var(--nova-brand); }
  .seller-body .seller-main { min-width: 0; background: #f5f6f8; }
  .seller-body .seller-main > .topbar { position: sticky; top: 0; z-index: 20; }
}
html.force-h5 .pc-sidebar { display: none; }
html.force-h5 .seller-body .seller-page { display: block; max-width: 480px; }
html.force-h5 .seller-body .seller-main { background: transparent; }

/* ---- 卖家商品管理：货源库上架抽屉 ---- */
.add-mask { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,.45); display: flex; align-items: flex-end; justify-content: center; }
.add-sheet { background: #f7f8fa; border-radius: 16px 16px 0 0; width: 100%; max-width: 480px; max-height: 88vh; display: flex; flex-direction: column; overflow: hidden; animation: sheetUp .22s ease; }
@keyframes sheetUp { from { transform: translateY(40px); opacity: .6; } to { transform: translateY(0); opacity: 1; } }
.add-head { display: flex; align-items: center; gap: 8px; padding: 12px 14px; background: #fff; border-bottom: 1px solid #f0f0f0; }
.add-head h2 { flex: 1; font-size: 16px; margin: 0; }
.add-ratio { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding: 10px 14px; background: #fff7f0; border-bottom: 1px solid #ffe9dc; }
.add-search { display: flex; gap: 8px; padding: 10px 14px; background: #fff; border-bottom: 1px solid #f0f0f0; }
.lib-cats-wrap { position: relative; background: #fff; border-bottom: 1px solid #f0f0f0; }
.lib-cats { display: flex; gap: 8px; padding: 10px 14px 6px; overflow-x: auto; white-space: nowrap; scrollbar-width: none; }
.lib-cats::-webkit-scrollbar { display: none; }
.lib-cats .chip { flex-shrink: 0; }
.lib-fade { position: absolute; top: 0; right: 0; bottom: 8px; width: 46px; background: linear-gradient(to right, rgba(255,255,255,0), #fff 78%); pointer-events: none; display: flex; align-items: center; justify-content: flex-end; padding-right: 10px; color: #ccc; font-size: 18px; font-weight: 700; }
.lib-hint { background: #fff; text-align: center; font-size: 11px; color: #bbb; padding: 0 0 8px; }
.add-list { flex: 1; overflow-y: auto; padding: 6px 14px 20px; }

/* ========== AI 设计优化补丁（qwen3-coder-plus 诊断生成 + 人工校准） ========== */
/* ---- 买家端：顶部栏统一 ---- */
.buyer-body .topbar { min-height: 52px; padding: 12px 14px; display: flex; align-items: center; }
.buyer-body .topbar h1 { font-size: 16px; line-height: 20px; }
.buyer-body .topbar input::placeholder { font-size: 15px; line-height: 20px; color: #9aa1af; }
/* ---- 限时抢购横幅：按钮式文字加大触控 ---- */
.op-bar.flash { min-height: 56px; }
.op-bar.flash .op-go { background: #fff; color: #ff4d2d; font-size: 14px; font-weight: 700; padding: 10px 18px; border-radius: 999px; box-shadow: 0 3px 10px rgba(0,0,0,.18); white-space: nowrap; }
/* ---- 首页分类宫格：统一格子尺寸 ---- */
.cat-wall { gap: 14px 8px; padding: 12px 14px 14px; }
.cat-wall .cat-tab { width: 64px; height: 64px; padding: 6px 2px; border-radius: 12px; justify-content: center; }
.cat-wall .cat-dot { width: 40px; height: 40px; font-size: 18px; }
.cat-wall .cat-name { width: 62px; font-size: 11px; }
/* ---- 商品卡片：阴影统一、图片比例统一 ---- */
.goods-card { box-shadow: 0 4px 12px rgba(0,0,0,.07); }
.goods-card .gimg { aspect-ratio: 1/1; }
.goods-card .gname { height: 36px; font-size: 13px; line-height: 1.35; }
/* ---- 详情页：价格/规格/数量 ---- */
.detail-info .price { font-size: 26px !important; font-weight: 800; color: var(--nova-price); }
.detail-info .chip { padding: 7px 16px; border-radius: 999px; border: 1px solid #ddd; background: #f7f8fa; cursor: pointer; transition: all .2s ease; }
.detail-info .chip.active { background: #ff7a00; color: #fff; border-color: #ff5722; box-shadow: 0 3px 8px rgba(255,105,0,.28); }
.detail-info .btn-mini { width: 40px; height: 40px; font-size: 16px; }
/* ---- 购物车空状态 ---- */
.cart .empty { padding: 70px 24px 90px; display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 14px; color: #9aa1af; }
.cart .empty .empty-ico { font-size: 52px; }
.cart .empty button { height: 44px; padding: 0 30px; border: 0; border-radius: 999px; background: var(--nova-brand); color: #fff; font-size: 14px; font-weight: 600; margin-top: 14px; cursor: pointer; box-shadow: 0 4px 12px rgba(255,105,0,.28); }
/* ---- 我的：宫格等高 ---- */
.me .menu-grid a { min-height: 72px; display: flex; flex-direction: column; justify-content: center; align-items: center; }
/* ---- 底部导航触控区 ---- */
.bottom-nav a { padding: 9px 0 8px; }
/* ---- PC 商品网格间距 ---- */
@media (min-width: 1024px) {
  .buyer-body .commodity-layout .commodity-main .goods-grid { gap: 16px; }
}
/* ---- 卖家端：数据卡与订单状态 ---- */
.stat-card { min-height: 84px; display: flex; align-items: center; }
.stat-grid.cols4 { gap: 10px; }
.stat-grid.cols4 > div { min-height: 68px; display: flex; flex-direction: column; justify-content: center; }
.order-status-item { padding: 14px 4px; border-radius: 12px; transition: all .15s ease; }
.order-status-item:hover { border-color: #ffd6bc; background: #fff8f2; }
.pc-sidebar .ps-link { line-height: 24px; gap: 10px; }
/* ---- 入驻页 ---- */
.settle-main-btn { min-height: 48px; font-size: 15px; font-weight: 600; width: 100%; }
.agree-check input { width: 22px; height: 22px; accent-color: #ff6900; cursor: pointer; }
.agree-box ol { line-height: 1.8; }
.agree-box ol li::marker { color: #ff6900; font-weight: 700; }
/* ---- 总后台 ---- */
.kpi { min-height: 88px; }
.kpi-num { color: #333 !important; }
.admin-table th, .admin-table td { padding: 12px; }
.role-link { color: #1890ff; text-decoration: none; cursor: pointer; font-size: 13px; }
.role-link:hover { text-decoration: underline; color: #0b63ce; }
.table-wrap { overflow-x: auto; }

/* ---- 商品详情：统一图片、规格、数量、店铺及购买区 ---- */
.detail-page { padding-bottom: 82px; }
.detail-page .detail-top { overflow: visible; }
.detail-page .detail-img { background: #fff; border-radius: 0; }
.detail-page .thumb-row { margin: 0 !important; padding: 10px 14px; flex-wrap: nowrap !important; scrollbar-width: none; }
.detail-page .thumb-row::-webkit-scrollbar { display: none; }
.detail-assurance { display: flex; flex-wrap: wrap; gap: 8px 14px; margin-top: 12px; padding: 11px 12px; border-radius: 10px; background: #fff8f2; color: #7a4b2a; font-size: 12px; }
.detail-info .chip { display: inline-flex; align-items: center; justify-content: center; min-width: 50px; min-height: 38px; margin: 0 7px 7px 0; }
.detail-qty { display: flex; align-items: center; gap: 0; margin-top: 14px; }
.detail-qty > span { width: 58px; color: #6b7280; font-size: 13px; }
.detail-qty button { width: 38px; height: 36px; border: 1px solid #e5e7eb; background: #f8f9fb; color: #222; font-size: 18px; cursor: pointer; }
.detail-qty button:first-of-type { border-radius: 9px 0 0 9px; }
.detail-qty button:last-child { border-radius: 0 9px 9px 0; }
.detail-qty b { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 36px; border-top: 1px solid #e5e7eb; border-bottom: 1px solid #e5e7eb; font-size: 14px; }
.detail-buy-actions { display: none; gap: 10px; margin-top: 18px; }
.detail-buy-actions button { flex: 1; min-height: 46px; }
.detail-store-card { margin-top: 12px; }
.detail-store-row { min-height: 48px; }
.detail-store-actions { display: flex; align-items: center; justify-content: flex-end; gap: 10px; min-width: 0; }
.detail-store-actions .link { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.detail-store-actions .btn-mini { flex: none; min-width: 76px; }
.detail-page > .seg { display: flex; background: #fff; padding: 0 10px; overflow-x: auto; }
.detail-page > .seg .seg-item { flex: 1; min-width: max-content; text-align: center; padding: 13px 10px; }
.detail-page > .card { overflow-wrap: anywhere; }

@media (min-width: 768px) {
  .buyer-body .detail-page { padding-bottom: 32px; }
  .buyer-body .detail-top { align-items: start; }
  .buyer-body .detail-img { aspect-ratio: 1 / 1; height: auto; border-radius: 16px; }
  .buyer-body .detail-img img { object-fit: contain; }
  .buyer-body .detail-info { padding: 18px 10px; }
  .buyer-body .detail-buy-actions { display: flex; }
  .buyer-body .detail-actions { display: none; }
  .buyer-body .detail-store-card, .buyer-body .detail-page > .seg, .buyer-body .detail-page > .card { max-width: 1100px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 767px) {
  .detail-page .detail-info { padding: 16px 18px 18px; }
  .detail-page .detail-info h2 { margin: 10px 0 !important; font-size: 17px !important; }
  .detail-page .detail-info .price { margin: 0 0 6px; }
  .detail-store-card { margin-left: 12px; margin-right: 12px; }
  .detail-store-row { align-items: center; gap: 12px; }
  .detail-store-actions { max-width: calc(100% - 48px); }
  .detail-page .detail-actions { padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); box-shadow: 0 -5px 18px rgba(16,24,40,.08); }
  .detail-page .detail-actions button { min-height: 46px; border-radius: 999px; }
}

/* ---- 商品详情：示例站桌面/手机布局 ---- */
.detail-breadcrumb { max-width: 1180px; margin: 0 auto; padding: 16px 24px 2px; color: #999; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.detail-breadcrumb a { color: #777; text-decoration: none; }
.detail-breadcrumb span { margin: 0 9px; }
.detail-breadcrumb b { color: #444; font-weight: 500; }
.detail-page .product-info { max-width: 1180px; padding-top: 18px; grid-template-columns: 378px minmax(0, 563px); justify-content: center; gap: 44px; }
.product-info-left { min-width: 0; }
.detail-page .product-info .detail-img { width: 378px; height: 378px; border: 1px solid #eee; border-radius: 2px; overflow: hidden; }
.detail-page .product-info .detail-img img { width: 100%; height: 100%; object-fit: contain; }
.detail-thumbs { display: flex; gap: 9px; overflow-x: auto; padding: 12px 0 0 !important; }
.detail-thumbs img { flex: 0 0 72px; width: 72px; height: 72px; object-fit: cover; border: 1px solid #e5e5e5; border-radius: 2px; cursor: pointer; }
.detail-thumbs img.active { border: 2px solid #ff6900; }
.product-info-right { padding: 0 !important; }
.product-info-right-title { margin: 0 0 15px; color: #222; font-size: 18px; line-height: 1.55; font-weight: 600; }
.detail-price-panel { padding: 13px 17px; background: #fff5ef; color: #999; font-size: 13px; }
.detail-price-panel > div { display: flex; align-items: center; min-height: 32px; }
.detail-price-panel span { width: 72px; }
.detail-price-panel strong { color: #ff4d00; font-size: 28px; line-height: 1; }
.detail-price-panel em { margin-left: 10px; padding: 2px 7px; border-radius: 2px; background: #ff6900; color: #fff; font-style: normal; font-size: 11px; }
.detail-price-panel del { color: #999; }
.detail-stat-tools { display: flex; align-items: center; justify-content: flex-end; gap: 18px; min-height: 42px; border-bottom: 1px solid #eee; color: #999; font-size: 12px; }
.detail-stat-tools b { color: #555; font-weight: 500; }
.detail-stat-tools button { border: 0; background: transparent; color: #777; cursor: pointer; }
.detail-option-row { display: flex; align-items: flex-start; gap: 10px; min-height: 45px; padding-top: 13px; color: #555; font-size: 13px; }
.detail-option-row .option-label { flex: 0 0 62px; color: #999; }
.detail-option-row small { margin-left: 8px; color: #aaa; line-height: 20px; }
.detail-service-list { display: flex; flex-wrap: wrap; gap: 7px 16px; color: #555; }
.detail-service-list span::first-letter { color: #ff6900; }
.sku-option { min-width: 64px; min-height: 34px; margin: 0 8px 8px 0; padding: 5px 12px; border: 1px solid #ddd; border-radius: 2px; background: #fff; color: #444; cursor: pointer; }
.sku-option.active { border-color: #ff6900; color: #ff6900; box-shadow: inset 0 0 0 1px #ff6900; }
.detail-option-row .detail-qty { margin: 0; }
.detail-qty small { align-self: center; }
.detail-total { display: flex; align-items: center; gap: 18px; margin-top: 8px; padding: 13px 0; border-top: 1px dashed #e7e7e7; color: #777; }
.detail-total strong { color: #ff4d00; font-size: 23px; }
.detail-buy-actions { display: flex; }
.detail-buy-actions button { min-height: 44px; border-radius: 3px; font-size: 15px; }
.detail-cart-btn { border: 1px solid #ff6900; background: #fff5ef; color: #ff6900; }
.detail-lower { display: grid; grid-template-columns: minmax(0, 930px) 220px; gap: 20px; max-width: 1180px; margin: 30px auto 0; padding: 0 14px; align-items: start; }
.detail-tabs { display: flex; margin: 0 0 12px; padding: 0 18px; border: 1px solid #eee; background: #fff; }
.detail-tabs .seg-item { min-width: 132px; padding: 15px 18px; text-align: center; }
.detail-content-card { min-height: 260px; padding: 22px; border-radius: 2px; overflow-wrap: anywhere; }
.detail-content-card h3, .detail-recommend h3 { margin: 0 0 18px; padding-left: 11px; border-left: 3px solid #ff6900; font-size: 16px; }
.detail-content-card img { max-width: 100%; height: auto; }
.review-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 4px 22px; border-bottom: 1px solid #eee; }
.review-head > div:first-child { display: flex; align-items: center; gap: 10px; }
.review-head strong { color: #ff6900; font-size: 30px; }
.review-head span { color: #f5a623; }
.review-head small { color: #999; }
.review-filters { display: flex; flex-wrap: wrap; gap: 7px; }
.review-filters button { padding: 7px 14px; border: 1px solid #ddd; border-radius: 2px; background: #fff; color: #666; cursor: pointer; }
.review-filters button.active { border-color: #ff6900; color: #ff6900; }
.detail-review { padding: 18px 4px; border-bottom: 1px solid #f1f1f1; }
.seller-reply { margin-top: 12px; padding: 10px 12px; background: #fafafa; color: #777; font-size: 12px; }
.detail-store-card { margin: 0; padding: 17px; border: 1px solid #eee; border-radius: 2px; background: #fff; }
.store-title { display: flex; align-items: center; gap: 10px; padding-bottom: 15px; border-bottom: 1px solid #eee; }
.store-avatar { display: flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg,#ff6900,#ffab4d); color: #fff; font-size: 18px; }
.store-title b { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.store-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 5px; padding: 17px 0; text-align: center; }
.store-stats div { display: flex; flex-direction: column; gap: 4px; }
.store-stats b { color: #333; }
.store-stats span { color: #999; font-size: 11px; }
.store-visit, .store-follow { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 36px; box-sizing: border-box; border-radius: 2px; text-decoration: none; font-size: 13px; }
.store-visit { border: 1px solid #ff6900; color: #ff6900; }
.store-follow { margin-top: 8px; border: 1px solid #ddd; background: #fff; color: #666; cursor: pointer; }
.store-follow.active { color: #ff6900; border-color: #ffc39f; }
.detail-recommend { margin-top: 20px; padding: 20px; background: #fff; }
.detail-recommend .goods-grid { grid-template-columns: repeat(4,minmax(0,1fr)); }
.detail-mobile-icon { display: flex; flex: 0 0 52px; flex-direction: column; align-items: center; justify-content: center; border: 0; background: #fff; color: #ff6900; font-size: 19px; }
.detail-mobile-icon small { color: #666; font-size: 10px; }

@media (max-width: 767px) {
  .detail-breadcrumb { padding: 10px 14px 0; }
  .detail-page .product-info { display: block; padding: 10px 0 0; }
  .detail-page .product-info .detail-img { width: 100%; height: auto; aspect-ratio: 1/1; border: 0; }
  .detail-thumbs { padding: 8px 14px !important; }
  .detail-thumbs img { flex-basis: 58px; width: 58px; height: 58px; }
  .product-info-right { padding: 14px 16px 18px !important; background: #fff; }
  .product-info-right-title { font-size: 16px !important; }
  .detail-price-panel { margin: 0 -16px; }
  .detail-stat-tools { justify-content: space-between; }
  .detail-option-row { flex-wrap: wrap; }
  .detail-option-row small { flex: 1 0 100%; margin: -5px 0 0 72px; }
  .detail-buy-actions { display: none; }
  .detail-lower { display: flex; flex-direction: column; margin-top: 10px; padding: 0; }
  .detail-lower main { width: 100%; }
  .detail-store-card { order: -1; width: calc(100% - 24px); margin: 0 12px; box-sizing: border-box; }
  .detail-tabs { margin-top: 10px; overflow-x: auto; }
  .detail-tabs .seg-item { min-width: 105px; padding: 13px 8px; }
  .detail-content-card { margin: 0 12px; padding: 16px; }
  .review-head { align-items: flex-start; flex-direction: column; }
  .review-filters button { padding: 6px 10px; }
  .detail-recommend { padding: 16px 12px; }
  .detail-recommend .goods-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

/* ---- 卖家直通车 ---- */
.admin-product-description { max-width:480px; line-height:1.65; overflow-wrap:anywhere; color:#374151; }
.admin-product-description p { margin:0 0 8px; }
.admin-product-description p:last-child { margin-bottom:0; }
.admin-product-description img { max-width:100%; height:auto; }
.marketing-hero { display:flex; align-items:center; justify-content:space-between; margin:12px; padding:24px 22px; border-radius:16px; color:#fff; background:linear-gradient(135deg,#ff6900,#ff9b35); box-shadow:0 10px 28px rgba(255,105,0,.22); }
.marketing-hero small { opacity:.85; }
.marketing-hero h2 { margin:7px 0 5px; font-size:25px; }
.marketing-hero p { margin:0; opacity:.9; font-size:13px; }
.marketing-hero > b { font-size:48px; }
.marketing-combo { position:relative; overflow:hidden; padding-left:78px; border:1px solid #ffe0cc; }
.combo-cover { position:absolute; left:14px; top:50%; display:flex; align-items:center; justify-content:center; width:48px; height:48px; transform:translateY(-50%); border-radius:14px; background:#fff2e8; font-size:26px; }
.combo-cover img { width:48px; height:48px; object-fit:contain; display:block; }
@media (min-width:768px) { .seller-body .marketing-hero { margin-left:auto; margin-right:auto; max-width:980px; } }

/* ---- 买家首页对齐：19 类目、三组促销与合作页 ---- */
.buyer-body .cat-wall { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.buyer-body .cat-wall .cat-tab { width: auto; min-width: 0; }
.buyer-body .cat-wall .cat-name { max-width: 100%; }
.buyer-body .deal-title { margin-top: 18px; }
.buyer-body .king-kong { flex-wrap: wrap; }
.buyer-body .king-kong .kk-item { min-width: 72px; }
.buyer-body .pay-chip-link { color: #ffd0ad; font-size: 12px; padding: 8px 5px; text-decoration: none; }
.buyer-body .buyer-info-page { min-height: 100vh; background: #f7f8fa; }
.buyer-body .buyer-partner-hero { padding: 40px 22px; text-align: center; color: #fff; background: linear-gradient(135deg,#ff6900,#ff9d28); }
.buyer-body .buyer-partner-hero > span { font-size: 11px; letter-spacing: 2px; }
.buyer-body .buyer-partner-hero h2 { margin: 10px 0; font-size: 25px; }
.buyer-body .buyer-partner-hero p { max-width: 680px; margin: 0 auto; line-height: 1.7; }
.buyer-body .partner-actions { display: flex; justify-content: center; gap: 10px; margin-top: 22px; }
.buyer-body .partner-actions a { display: inline-flex; align-items: center; text-decoration: none; }
.buyer-body .partner-grid { display: grid; gap: 12px; padding: 18px 14px; }
.buyer-body .partner-grid article { background: #fff; border-radius: 14px; padding: 20px; box-shadow: 0 3px 14px rgba(0,0,0,.05); }
.buyer-body .partner-grid article b { color: #ff6900; }
.buyer-body .partner-grid article h3 { margin: 8px 0; }
.buyer-body .partner-grid article p { margin: 0; color: #777; font-size: 13px; }
@media (min-width: 768px) {
  .buyer-body .cat-wall { grid-template-columns: repeat(10, minmax(0, 1fr)); }
  .buyer-body .partner-grid { grid-template-columns: repeat(3, 1fr); max-width: 1000px; margin: 0 auto; padding: 28px 20px; }
}
