/* 前台商城 */
:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --primary-soft: #818cf8;
  --danger: #ef4444;
  --success: #10b981;
  --bg: #f1f5f9;
  --card: #ffffff;
  --text: #0f172a;
  --muted: #64748b;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 12px 40px rgba(79, 70, 229, 0.12);
  --radius: 14px;
  --trade-bg: #0f172a;
  --trade-border: rgba(99, 102, 241, 0.35);
  --trade-accent: #a5b4fc;
}
* { box-sizing: border-box; }
body.shop-body {
  background:
    radial-gradient(1200px 480px at 10% -10%, rgba(99, 102, 241, 0.12), transparent 55%),
    radial-gradient(900px 420px at 95% 5%, rgba(14, 165, 233, 0.08), transparent 50%),
    var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif;
  min-height: 100vh;
}
.shop-navbar {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06), 0 8px 24px rgba(15, 23, 42, 0.04);
  position: sticky; top: 0; z-index: 100; padding: .7rem 0;
}
.shop-nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.shop-navbar .brand {
  font-weight: 800; font-size: 1.2rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-decoration: none; white-space: nowrap; flex-shrink: 0;
}
.shop-nav-right { display: flex; align-items: center; justify-content: flex-end; gap: .75rem; min-width: 0; flex: 1; }
.shop-nav-links,
.shop-nav-user-links,
.shop-nav-profile,
.shop-nav-guest { display: flex; align-items: center; flex-wrap: wrap; gap: .15rem; }
.shop-nav-user { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem .5rem; justify-content: flex-end; min-width: 0; }
.shop-nav-links { padding-right: .5rem; border-right: 1px solid #e2e8f0; }
.shop-nav-user-links { padding-right: .35rem; border-right: 1px solid #e2e8f0; }
.shop-navbar .nav-link-custom { color: var(--muted); text-decoration: none; padding: .35rem .55rem; border-radius: 8px; font-size: .84rem; display: inline-flex; align-items: center; gap: .25rem; white-space: nowrap; }
.shop-navbar .nav-link-custom:hover { background: #f1f5f9; color: var(--primary); }
.shop-navbar .nav-balance-pill { display: inline-flex; align-items: center; gap: .3rem; padding: .32rem .7rem; border-radius: 999px; background: linear-gradient(135deg,#ecfdf5,#d1fae5); color: #047857; font-size: .84rem; font-weight: 700; border: 1px solid #a7f3d0; text-decoration: none; white-space: nowrap; }
.shop-navbar .nav-credit-pill { background: linear-gradient(135deg,#eff6ff,#dbeafe); color: #1d4ed8; border-color: #93c5fd; cursor: default; }
.shop-navbar .nav-balance-pill:hover { color: #065f46; box-shadow: 0 2px 8px rgba(16,185,129,.18); }
.shop-navbar .nav-credit-pill:hover { color: #1d4ed8; box-shadow: 0 2px 8px rgba(59,130,246,.15); }
.shop-navbar .nav-recharge-pill { display: inline-flex; align-items: center; gap: .3rem; padding: .32rem .65rem; border-radius: 999px; background: linear-gradient(135deg,#fff7ed,#ffedd5); color: #c2410c; font-size: .82rem; font-weight: 700; border: 1px solid #fdba74; text-decoration: none; white-space: nowrap; }
.shop-navbar .nav-recharge-pill:hover { color: #9a3412; box-shadow: 0 2px 8px rgba(249,115,22,.16); }
.shop-domain-switch { flex-shrink: 0; }
.shop-domain-switch .domain-switch-btn {
  display: inline-flex; align-items: center; gap: .3rem;
  font-size: .8rem; padding: .28rem .6rem; border-radius: 999px;
  border-color: #cbd5e1; color: var(--muted); max-width: 180px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.shop-domain-switch .domain-switch-btn:hover { color: var(--primary); border-color: var(--primary); background: #eff6ff; }
.shop-domain-switch .dropdown-item.active { background: #eff6ff; color: var(--primary); font-weight: 600; }
.shop-nav-profile .nav-user-chip { display: inline-flex; align-items: center; gap: .25rem; padding: .32rem .55rem; border-radius: 8px; background: #eef2ff; color: var(--primary); font-size: .84rem; font-weight: 600; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.shop-nav-profile .nav-logout { color: #64748b; }
.shop-nav-guest .btn { border-radius: 999px; font-weight: 600; }
.balance-log-page { max-width: 980px; }
.balance-summary-amount { color: var(--danger); font-size: 1.5rem; font-weight: 700; }
.dingtalk-page { max-width: 820px; }
.dingtalk-guide-content,
.dingtalk-guide-preview { line-height: 1.75; color: var(--text); font-size: .95rem; }
.dingtalk-guide-content img,
.dingtalk-guide-preview img { max-width: 100%; height: auto; border-radius: 8px; }
.dingtalk-guide-content ol,
.dingtalk-guide-content ul { padding-left: 1.25rem; }
.shop-pagination { margin-top: .75rem; text-align: center; }
.shop-page-info { margin-bottom: .5rem; }
.shop-pagination .pagination .page-link { color: var(--primary); border-color: #e2e8f0; min-width: 2.25rem; text-align: center; }
.shop-pagination .pagination .page-item.active .page-link { background: var(--primary); border-color: var(--primary); color: #fff; }
.shop-pagination .pagination .page-item.disabled .page-link { color: #94a3b8; background: #f8fafc; }
@media (max-width: 992px) {
  .shop-nav-inner { flex-wrap: wrap; }
  .shop-nav-right { width: 100%; justify-content: flex-start; }
  .shop-nav-links { border-right: none; padding-right: 0; }
}
@media (max-width: 768px) {
  .shop-nav-user { width: 100%; }
  .shop-nav-user-links { border-right: none; padding-right: 0; width: 100%; }
  .shop-nav-profile { width: 100%; justify-content: space-between; }
  .shop-navbar .nav-link-custom span { display: none; }
  .shop-navbar .nav-balance-pill span { display: inline; }
  .shop-nav-profile .nav-user-chip { max-width: 120px; }
}
.goods-card { border: none; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; overflow: hidden; }
.goods-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(79,70,229,.15); }
.goods-card .price { color: var(--danger); font-size: 1.35rem; font-weight: 700; }
.goods-card .badge-stock { background: linear-gradient(135deg,#10b981,#059669); }
.notice-bar {
  background: linear-gradient(90deg, #fff7ed 0%, #fef3c7 50%, #fff7ed 100%);
  border-radius: var(--radius);
  border: 1px solid #fcd34d;
  box-shadow: 0 4px 16px rgba(245, 158, 11, .15);
  padding: .85rem 1.15rem;
  overflow: hidden;
}
.notice-bar-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .35rem 0;
}
.notice-bar-item + .notice-bar-item {
  margin-top: .35rem;
  padding-top: .55rem;
  border-top: 1px dashed rgba(245, 158, 11, .35);
}
.notice-bar-icon {
  flex-shrink: 0;
  font-size: 1.75rem;
  line-height: 1;
  color: #ea580c;
  animation: notice-icon-blink 1.2s ease-in-out infinite;
}
.notice-bar-link {
  flex: 1;
  min-width: 0;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.45;
  color: #b45309;
  text-decoration: none;
  letter-spacing: .02em;
  animation: notice-text-blink 1.2s ease-in-out infinite;
}
.notice-bar-link:hover {
  color: #c2410c;
  text-decoration: underline;
}
@keyframes notice-icon-blink {
  0%, 100% {
    transform: scale(1);
    color: #ea580c;
    filter: drop-shadow(0 0 2px rgba(234, 88, 12, .4));
  }
  50% {
    transform: scale(1.18);
    color: #dc2626;
    filter: drop-shadow(0 0 10px rgba(220, 38, 38, .75));
  }
}
@keyframes notice-text-blink {
  0%, 100% {
    color: #b45309;
    opacity: 1;
    text-shadow: 0 0 0 transparent;
  }
  50% {
    color: #dc2626;
    opacity: 1;
    text-shadow: 0 0 8px rgba(220, 38, 38, .35);
  }
}
@media (max-width: 576px) {
  .notice-bar { padding: .75rem .9rem; }
  .notice-bar-icon { font-size: 1.45rem; }
  .notice-bar-link { font-size: 1.05rem; }
}
.page-hero {
  background: linear-gradient(135deg, #4338ca 0%, #4f46e5 42%, #6366f1 72%, #818cf8 100%);
  color: #fff;
  border-radius: var(--radius);
  padding: 2.25rem 2rem;
  margin-bottom: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(500px 200px at 85% 20%, rgba(255,255,255,.18), transparent 60%),
    radial-gradient(400px 180px at 10% 90%, rgba(15,23,42,.12), transparent 55%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 1.25rem; }
.page-hero-main { flex: 0 1 auto; min-width: 0; }
.page-hero-main.home-hero-rich h1,
.page-hero-main.home-hero-rich h2,
.page-hero-main.home-hero-rich h3 {
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 0 .25rem;
  color: #fff;
}
.page-hero-main.home-hero-rich p {
  margin: 0;
  opacity: .75;
  color: #fff;
  font-size: 1rem;
}
.page-hero-main.home-hero-rich a { color: #fff; text-decoration: underline; }
.page-hero-main.home-hero-rich img { max-width: 100%; height: auto; border-radius: 8px; }
.page-hero-stats {
  flex: 1;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: .65rem;
  min-width: 0;
  flex-wrap: wrap;
}
.hero-stat-card {
  border-radius: 12px;
  color: #fff;
  padding: .75rem 1rem;
  min-width: 118px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, .22);
}
.hero-stat-label {
  font-size: .82rem;
  line-height: 1.25;
  opacity: .96;
  white-space: nowrap;
  font-weight: 600;
}
.hero-stat-value {
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.1;
  margin-top: .25rem;
  letter-spacing: -.02em;
}
.hero-stat-card.purple { background: linear-gradient(135deg,#4f46e5,#818cf8); }
.hero-stat-card.green { background: linear-gradient(135deg,#059669,#34d399); }
.hero-stat-card.orange { background: linear-gradient(135deg,#d97706,#fbbf24); }
.hero-stat-card.blue { background: linear-gradient(135deg,#0284c7,#38bdf8); }
.page-hero-hall {
  display: flex;
  align-items: center;
  gap: .35rem;
  flex-shrink: 0;
  padding: .85rem 1.35rem;
  margin: -1rem -1rem -1rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  background: rgba(0,0,0,.14);
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.page-hero-hall:hover { background: rgba(0,0,0,.22); text-decoration: none; transform: translateX(2px); }
.page-hero-hall-text {
  color: #ff6b4a;
  font-size: 1.85rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  letter-spacing: .08em;
}
.page-hero-hall-go {
  color: #ff9478;
  font-size: .95rem;
  font-weight: 600;
  white-space: nowrap;
  align-self: flex-end;
  margin-bottom: .15rem;
}
.page-hero-recharge {
  display: flex;
  align-items: center;
  gap: .3rem;
  flex-shrink: 0;
  padding: .75rem 1.1rem;
  border-radius: 12px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.22);
  text-decoration: none;
  transition: background .2s, transform .2s;
}
.page-hero-recharge:hover { background: rgba(255,255,255,.22); text-decoration: none; transform: translateY(-1px); }
.page-hero-recharge-text {
  color: #fde68a;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  letter-spacing: .06em;
}
.page-hero-recharge-go {
  color: #fef3c7;
  font-size: .88rem;
  font-weight: 600;
  white-space: nowrap;
  align-self: flex-end;
  margin-bottom: .12rem;
}
@media (max-width: 1100px) {
  .page-hero-inner { flex-wrap: wrap; }
  .page-hero-stats { order: 3; width: 100%; justify-content: flex-start; margin-top: .65rem; gap: .55rem; }
  .page-hero-hall { margin: -.5rem -.5rem -.5rem 0; }
  .hero-stat-card { min-width: calc(25% - .45rem); flex: 1 1 calc(25% - .45rem); }
  .hero-stat-value { font-size: 1.55rem; }
}
@media (max-width: 576px) {
  .page-hero { padding: 1.25rem 1rem; }
  .page-hero-main h2 { font-size: 1.45rem; }
  .page-hero-hall { padding: .6rem .85rem; margin: -.25rem -.5rem -.25rem 0; }
  .page-hero-hall-text { font-size: 1.35rem; }
  .page-hero-hall-go { font-size: .8rem; }
  .hero-stat-card { min-width: calc(50% - .35rem); flex: 1 1 calc(50% - .35rem); padding: .65rem .75rem; }
  .hero-stat-label { font-size: .75rem; }
  .hero-stat-value { font-size: 1.45rem; }
}
.btn-primary-custom { background: var(--primary); border: none; }
.btn-primary-custom:hover { background: var(--primary-dark); }
.chat-float { position: fixed; right: 24px; bottom: 24px; z-index: 999; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.chat-float .btn-chat { position: relative; display: inline-flex; flex-direction: row; flex-wrap: nowrap; align-items: center; justify-content: center; gap: 8px; width: auto; height: auto; min-width: 0; max-width: none; min-height: 44px; padding: 10px 18px; border-radius: 999px; background: var(--primary); color:#fff; border:none; box-shadow: var(--shadow); font-size: .95rem; font-weight: 600; line-height: 1.2; white-space: nowrap; overflow: visible; }
.chat-float .btn-chat .bi { font-size: 1.1rem; flex-shrink: 0; line-height: 1; }
.chat-float .btn-chat-label { line-height: 1.2; white-space: nowrap; flex-shrink: 0; }
.cs-qr-stack { position: relative; display: flex; flex-direction: column; gap: 10px; align-items: flex-end; width: min(200px, calc(100vw - 48px)); max-width: 100%; }
.cs-qr-cards { position: relative; display: flex; flex-direction: column; gap: 10px; width: 100%; }
.cs-qr-minimize { position: absolute; top: 6px; right: 6px; z-index: 2; width: 26px; height: 26px; border: none; border-radius: 999px; background: rgba(15,23,42,.45); color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; display: flex; align-items: center; justify-content: center; padding: 0; }
.cs-qr-minimize:hover { background: rgba(15,23,42,.7); }
.cs-qr-toggle { display: none; align-items: center; gap: 6px; border: none; border-radius: 999px; background: #fff; color: #334155; box-shadow: 0 6px 20px rgba(15,23,42,.14); padding: 8px 14px; font-size: .85rem; font-weight: 600; cursor: pointer; }
.cs-qr-toggle .bi { font-size: 1rem; color: var(--primary); }
.cs-qr-stack.is-collapsed { width: auto; }
.cs-qr-stack.is-collapsed .cs-qr-cards { display: none; }
.cs-qr-stack.is-collapsed .cs-qr-toggle { display: inline-flex; }
.cs-qr-card { width: 100%; background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 8px 28px rgba(15,23,42,.14); }
.cs-qr-head { color: #fff; text-align: center; font-weight: 600; font-size: .9rem; padding: 8px 10px; padding-right: 34px; }
.cs-qr-body { padding: 12px; text-align: center; }
.cs-qr-img { width: 100%; max-width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: contain; display: block; margin: 0 auto; border-radius: 4px; }
.cs-qr-placeholder { width: 100%; max-width: 100%; aspect-ratio: 1 / 1; margin: 0 auto; border: 1px dashed #cbd5e1; border-radius: 8px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: #94a3b8; font-size: .78rem; background: #f8fafc; }
.cs-qr-placeholder .bi { font-size: 2rem; }
.cs-qr-account { margin-top: 10px; font-size: .8rem; color: #475569; line-height: 1.4; word-break: break-all; }
/* 登录/注册页：默认收起二维码，避免挡住表单与注册链接 */
body.page-auth .chat-float { right: 12px; bottom: 12px; }
body.page-auth .auth-panel,
body.page-auth .auth-card { position: relative; z-index: 1; }
body.page-auth .auth-footer { padding-right: 0; }
.chat-unread-badge { position: absolute; top: -2px; right: -2px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: #ef4444; color: #fff; font-size: 11px; font-weight: 700; line-height: 20px; text-align: center; display: none; align-items: center; justify-content: center; box-shadow: 0 0 0 2px #fff; }
.chat-panel { display:none; position:fixed; right:24px; bottom:90px; width:340px; max-height:420px; background:#fff; border-radius:var(--radius); box-shadow:0 8px 40px rgba(0,0,0,.15); z-index:999; flex-direction:column; }
.chat-panel.show { display:flex; }
.chat-panel .chat-head { background:var(--primary); color:#fff; padding:12px 16px; border-radius:var(--radius) var(--radius) 0 0; font-weight:600; }
.chat-head-bar { display:flex; align-items:center; justify-content:space-between; gap:8px; cursor:move; user-select:none; }
.chat-head-bar .chat-panel-close { cursor:pointer; }
.chat-panel.is-dragged { right:auto !important; bottom:auto !important; }
.chat-head-title-wrap { flex:1; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:.95rem; }
.chat-panel-close { border:none; background:transparent; color:#fff; font-size:1.5rem; line-height:1; padding:0 4px; cursor:pointer; opacity:.9; flex-shrink:0; }
.chat-panel-close:hover { opacity:1; }
.chat-panel .chat-body { flex:1; overflow-y:auto; padding:12px; max-height:280px; }
.chat-panel .chat-foot { padding:12px; border-top:1px solid #eee; }
.msg-bubble { max-width:85%; padding:8px 12px; border-radius:12px; margin-bottom:8px; font-size:.875rem; }
.msg-bubble.user { background:#eef2ff; margin-left:auto; }
.msg-bubble.admin { background:#f1f5f9; }
.chat-float .btn-chat.chat-has-new { animation: chat-pulse 1s ease-in-out infinite; box-shadow: 0 0 0 0 rgba(79,70,229,.45); }
@keyframes chat-pulse { 0%,100%{ box-shadow: 0 0 0 0 rgba(79,70,229,.45);} 50%{ box-shadow: 0 0 0 10px rgba(79,70,229,0);} }
.chat-tip-banner { position: fixed; right: 24px; bottom: 100px; z-index: 997; max-width: 320px; margin: 0; font-size: .875rem; }
.complaint-tip-banner { position: fixed; right: 24px; bottom: 520px; z-index: 997; max-width: 340px; margin: 0; font-size: .875rem; cursor: pointer; }
.complaint-order-panel { right:24px; left:auto; bottom:520px; z-index:1000; border:2px solid #f59e0b; width:340px; }
@media (max-width:768px){
.complaint-order-panel { right:12px; left:auto; width:auto; max-width:calc(100vw - 80px); bottom:480px; }
.chat-panel:not(.complaint-order-panel) { right:12px; left:12px; width:auto; bottom:80px; }
.chat-float { right:12px; bottom:12px; }
.cs-qr-stack { width: min(168px, calc(100vw - 88px)); }
.cs-qr-stack:not(.is-collapsed) { max-height: min(42vh, 280px); overflow: auto; }
.cs-qr-img, .cs-qr-placeholder { max-width: 140px; }
.chat-float .btn-chat-label { display: none; }
.chat-float .btn-chat { min-height: 48px; min-width: 48px; padding: 12px; border-radius: 999px; }
.complaint-tip-banner { right:12px; bottom:460px; max-width:calc(100vw - 24px); }
}
@media (max-width:1100px){
/* 中等宽度：登录右栏与二维码易重叠，默认收起由 JS 处理；此处缩小卡片 */
.cs-qr-stack { width: min(180px, calc(100vw - 40px)); }
}
.complaint-order-panel .complaint-head { background: linear-gradient(135deg,#f59e0b,#d97706); }
.complaint-unread-dot { display: inline-block; width: 10px; height: 10px; border-radius: 50%; background: #ef4444; margin-left: 8px; vertical-align: middle; box-shadow: 0 0 0 2px #fff; }
.footer-shop { text-align:center; padding:2rem; color:var(--muted); font-size:.875rem; }
.goods-desc { line-height: 1.75; color: var(--text); font-size: .95rem; }
.goods-intro-section {
  margin-top: .5rem;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  min-height: 120px;
}
.goods-intro-head {
  padding: .75rem 1rem;
  background: linear-gradient(90deg, #f8fafc, #fff);
  border-bottom: 1px solid #e2e8f0;
  font-weight: 600;
  font-size: .95rem;
  color: var(--text);
}
.goods-intro-head i { color: var(--primary); margin-right: .35rem; }
.goods-intro-body { padding: 1rem 1.15rem; color: var(--muted); }
.goods-subsidy-badge {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .25rem .35rem;
  font-size: .95rem;
  line-height: 1.4;
}
.goods-subsidy-badge .goods-subsidy-amount {
  font-size: 1.1rem;
}
/* 列表模式 */
.goods-list-card { background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.goods-list-table thead { background: #f8fafc; font-size: .85rem; color: var(--muted); }
.goods-list-table tbody tr { transition: background .15s; }
.goods-list-table tbody tr:hover { background: #f8fafc; }
.goods-list-name { color: var(--text); font-weight: 600; }
.goods-list-name:hover { color: var(--primary); }
.goods-filter { border: 1px solid #e2e8f0; }
/* 交易卡片网格（首页） */
.goods-home { max-width: 1600px; }
.goods-home-tip {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem; flex-wrap: wrap;
  margin: -.5rem 0 1rem;
  color: var(--muted); font-size: .84rem;
}
.goods-home-tip .mode-tag {
  display: inline-flex; align-items: center; gap: .3rem;
  padding: .2rem .55rem; border-radius: 999px; font-size: .75rem; font-weight: 700;
  background: #eef2ff; color: var(--primary);
}
.goods-trade-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}
@media (min-width: 1400px) {
  .goods-trade-grid { grid-template-columns: repeat(7, 1fr); }
}
.trade-filter {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  box-shadow: var(--shadow);
}
.trade-filter .form-select,
.trade-filter .form-control {
  background: #f8fafc;
  border-color: #e2e8f0;
  color: var(--text);
  border-radius: 10px;
}
.trade-filter .form-select:focus,
.trade-filter .form-control:focus {
  background: #fff;
  border-color: var(--primary-soft);
  color: var(--text);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
.trade-filter .form-label { color: var(--muted) !important; }
.btn-trade-search {
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  border: none;
  color: #fff;
  font-weight: 700;
  border-radius: 10px;
  padding: .55rem 1rem;
  transition: transform .15s, box-shadow .15s, filter .15s;
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.28);
}
.btn-trade-search:hover {
  color: #fff;
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
}
/* 浅色商品卡（对齐主流发卡站：白底圆角+轻阴影+价格强调） */
.goods-trade-card {
  display: flex;
  flex-direction: column;
  position: relative;
  background: #fff;
  border: 1px solid #e8edf5;
  border-radius: 14px;
  padding: 14px 14px 12px;
  min-height: 100%;
  color: var(--text);
  font-size: 12px;
  line-height: 1.45;
  transition: border-color .2s, box-shadow .2s, transform .2s;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}
.goods-trade-card:hover {
  border-color: #c7d2fe;
  box-shadow: 0 12px 28px rgba(79, 70, 229, 0.12);
  transform: translateY(-3px);
}
.goods-trade-card.is-favorited {
  border-color: #fcd34d;
  box-shadow: 0 4px 16px rgba(251, 191, 36, 0.18);
}
.trade-card-fav {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
  width: auto;
  min-width: 48px;
  height: auto;
  padding: 4px 8px;
  border: 1px solid #fde68a;
  border-radius: 8px;
  background: #fffbeb;
  color: #d97706;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  cursor: pointer;
  line-height: 1;
  font-size: 14px;
}
.trade-card-fav-text {
  font-size: 10px;
  font-weight: 700;
  line-height: 1.15;
  color: #ea580c;
  white-space: nowrap;
}
.trade-card-fav:hover,
.trade-card-fav.is-on {
  background: #fef3c7;
  border-color: #fbbf24;
}
.trade-card-fav.is-on .trade-card-fav-text {
  color: #b45309;
}
.goods-trade-card .trade-card-head {
  padding-right: 62px;
  padding-top: 2px;
}
.trade-badge-type {
  flex: 0 0 auto;
  margin-left: auto;
}
.goods-trade-card .trade-card-sales {
  color: #dc2626 !important;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
  margin: -2px 0 6px;
  max-width: 100%;
  word-break: break-word;
}
.goods-trade-card .trade-card-pin-extra {
  margin: -4px 0 6px;
  max-width: 100%;
  font-size: 12px;
  line-height: 1.4;
  word-break: break-word;
  overflow: hidden;
}
.goods-trade-card .trade-card-pin-extra p { margin: 0; }
.goods-trade-card .trade-card-pin-extra img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}
.goods-trade-card .trade-card-sales .trade-card-sales-num {
  color: #dc2626 !important;
  font-weight: 800;
}
.trade-badge-sell {
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #a7f3d0;
}
.trade-badge-buy {
  background: #f5f3ff;
  color: #6d28d9;
  border: 1px solid #ddd6fe;
}
.trade-card-head {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  margin-bottom: 8px;
  min-height: 22px;
}
.trade-card-badges-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  flex: 0 1 auto;
  max-width: 38%;
  min-width: 0;
}
.trade-card-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
  padding-right: 52px;
}
.trade-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  line-height: 1.4;
}
.trade-badge-cat {
  background: #eff6ff;
  color: #1d4ed8;
  border: 1px solid #bfdbfe;
}
.trade-badge-recommend {
  flex: 1 1 0;
  min-width: 0;
  align-self: center;
  background: transparent;
  color: #dc2626;
  border: none;
  font-weight: 700;
  font-size: 11px;
  padding: 0 2px;
  text-align: center;
  line-height: 1.25;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
}
.trade-badge-recommend p { margin: 0; display: inline; }
.trade-badge-recommend * {
  font-size: inherit !important;
  line-height: inherit;
  max-width: 100%;
}
.trade-card-title {
  font-size: 15px;
  font-weight: 800;
  margin: 0 0 10px;
  line-height: 1.35;
  color: var(--text);
}
.trade-card-title a {
  color: inherit;
  text-decoration: none;
}
.trade-card-title a:hover { color: var(--primary); }
.trade-card-meta {
  margin: 0 0 10px;
  flex: 1;
}
.trade-meta-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.trade-meta-row dt {
  flex-shrink: 0;
  color: var(--muted);
  font-weight: 500;
  margin: 0;
}
.trade-meta-row dd {
  margin: 0;
  text-align: right;
  word-break: break-all;
  color: #334155;
  font-weight: 600;
}
.trade-meta-row .trade-price {
  color: #e11d48;
  font-weight: 800;
  font-size: 1.05rem;
}
.trade-after-sale {
  border-top: 1px solid #f1f5f9;
  padding-top: 8px;
  margin-bottom: 8px;
}
.trade-merchant-row {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
  word-break: break-word;
  color: #475569;
}
.trade-after-head {
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: 6px;
}
.trade-after-row {
  display: flex;
  gap: 6px;
  margin-bottom: 4px;
  word-break: break-word;
}
.trade-after-label {
  flex-shrink: 0;
  color: #64748b;
}
.trade-after-scope span:last-child {
  flex: 1;
  white-space: pre-wrap;
}
.trade-card-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 100%;
  padding: 9px;
  margin-top: auto;
  background: linear-gradient(135deg, var(--primary), var(--primary-soft));
  border: none;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  font-size: 13px;
  transition: filter .15s, transform .15s, box-shadow .15s;
  box-shadow: 0 4px 12px rgba(79, 70, 229, 0.22);
}
.trade-card-btn:hover {
  color: #fff;
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(79, 70, 229, 0.3);
}
.trade-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 4rem 1rem;
  color: #64748b;
}
.trade-empty i { font-size: 3rem; display: block; margin-bottom: .75rem; opacity: .5; }
.trade-pagination .pagination .page-link {
  background: #1a2229;
  border-color: rgba(165, 180, 252, 0.28);
  color: #94a3b8;
}
.trade-pagination .pagination .page-item.active .page-link {
  background: rgba(99, 102, 241, 0.35);
  border-color: rgba(165, 180, 252, 0.5);
  color: #fff;
}
.goods-extra-info {
  padding: .75rem 1rem;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
}
/* 登录/注册页 */
.auth-page {
  width: 100%;
  min-height: calc(100vh - 140px);
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 2rem 1rem 5.5rem;
  background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 45%, #fdf4ff 100%);
  box-sizing: border-box;
}
@media (min-width: 992px) {
  body.page-auth .auth-page {
    padding-right: 2.5rem;
  }
}
.auth-shell {
  width: 100%;
  max-width: 960px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  background: #fff;
  border-radius: 24px;
  box-shadow: 0 24px 80px rgba(79, 70, 229, 0.14);
  overflow: hidden;
  min-height: 560px;
}
@media (min-width: 768px) {
  .auth-shell { grid-template-columns: 1.05fr 1fr; }
}
.auth-visual {
  display: none;
  background: linear-gradient(145deg, #667eea 0%, #764ba2 55%, #5b21b6 100%);
  color: #fff;
  padding: 3rem 2.5rem;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 768px) {
  .auth-visual { display: flex; }
}
.auth-visual h2 { font-size: 2rem; font-weight: 800; line-height: 1.25; margin-bottom: 1rem; }
.auth-visual p { opacity: .92; line-height: 1.7; margin-bottom: 1.5rem; }
.auth-visual ul { list-style: none; padding: 0; margin: 0; }
.auth-visual li { display: flex; align-items: center; gap: .65rem; margin-bottom: .85rem; font-size: .95rem; }
.auth-visual li i { font-size: 1.1rem; opacity: .95; }
.auth-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
}
.auth-card {
  width: 100%;
  max-width: 380px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}
.auth-brand { text-align: center; margin-bottom: 1.75rem; }
.auth-brand .auth-logo {
  width: 64px; height: 64px; border-radius: 18px;
  background: linear-gradient(135deg, #667eea, #764ba2);
  color: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.75rem; margin-bottom: 1rem;
  box-shadow: 0 12px 30px rgba(102, 126, 234, .35);
}
.auth-brand h1 { font-size: 1.6rem; font-weight: 800; margin: 0 0 .35rem; color: var(--text); }
.auth-brand p { color: var(--muted); font-size: .92rem; margin: 0; }
.auth-form { width: 100%; }
.auth-field {
  display: flex; align-items: center;
  background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 14px;
  padding: .8rem 1rem; margin-bottom: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.auth-field:focus-within {
  border-color: #a5b4fc;
  box-shadow: 0 0 0 4px rgba(99, 102, 241, .12);
  background: #fff;
}
.auth-field i { color: var(--muted); margin-right: .75rem; font-size: 1.05rem; flex-shrink: 0; }
.auth-field input {
  border: none; background: transparent; flex: 1; outline: none;
  font-size: .95rem; min-width: 0;
}
.auth-field .btn { flex-shrink: 0; white-space: nowrap; }
.auth-captcha-img {
  height: 38px; width: 120px; border-radius: 8px; cursor: pointer;
  flex-shrink: 0; border: 1px solid #e2e8f0; background: #fff;
}
.auth-captcha-row input { min-width: 0; }
.btn-auth {
  display: block; width: 100%;
  background: linear-gradient(135deg, #667eea, #764ba2);
  border: none; color: #fff !important;
  padding: .85rem 1rem; border-radius: 14px;
  font-weight: 700; font-size: 1rem;
  margin-top: .25rem;
  box-shadow: 0 10px 24px rgba(102, 126, 234, .28);
  transition: transform .15s, box-shadow .15s, opacity .15s;
}
.btn-auth:hover { transform: translateY(-1px); box-shadow: 0 14px 28px rgba(102, 126, 234, .34); opacity: .96; color: #fff; }
.auth-footer { text-align: center; margin-top: 1.35rem; color: var(--muted); font-size: .92rem; }
.auth-footer a { color: var(--primary); font-weight: 700; text-decoration: none; }
.auth-footer a:hover { text-decoration: underline; }

/* ---------- 协议勾选 + 弹窗美化 ---------- */
.auth-agree {
  display: flex; align-items: flex-start; gap: .65rem;
  margin: .25rem 0 1rem; padding: .75rem .9rem;
  background: linear-gradient(135deg, #f8fafc, #eef2ff);
  border: 1px solid #e0e7ff; border-radius: 12px;
}
.auth-agree-input {
  position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none;
}
.auth-agree-check {
  flex: 0 0 20px; width: 20px; height: 20px; margin-top: 1px;
  border: 2px solid #a5b4fc; border-radius: 6px; background: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  color: transparent; font-size: .75rem; cursor: pointer;
  transition: all .15s;
}
.auth-agree-input:checked + .auth-agree-check {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  border-color: #4f46e5; color: #fff;
}
.auth-agree-text { flex: 1; font-size: .86rem; color: #475569; line-height: 1.55; cursor: pointer; }
.auth-agree-text a {
  color: #4f46e5; font-weight: 700; text-decoration: none;
  border-bottom: 1px dashed rgba(79,70,229,.35);
}
.auth-agree-text a:hover { border-bottom-style: solid; }

.agreement-modal .modal-content {
  border: none; border-radius: 18px; overflow: hidden;
  box-shadow: 0 24px 64px rgba(15, 23, 42, .22);
}
.agreement-modal .agreement-modal-head {
  background: linear-gradient(135deg, #4f46e5, #7c3aed 55%, #6366f1);
  color: #fff; padding: 1.25rem 1.5rem; border: none;
  display: flex; align-items: center; gap: .85rem;
}
.agreement-modal .agreement-modal-head .btn-close { filter: invert(1); opacity: .85; }
.agreement-modal-icon {
  width: 44px; height: 44px; border-radius: 12px; flex-shrink: 0;
  background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem;
}
.agreement-modal-titles { flex: 1; min-width: 0; }
.agreement-modal-titles .modal-title { color: #fff; font-weight: 800; font-size: 1.1rem; margin: 0; }
.agreement-modal-titles .agreement-modal-sub { margin: .2rem 0 0; opacity: .88; font-size: .8rem; }
.agreement-modal .modal-body {
  padding: 1.25rem 1.35rem; background: #f8fafc; max-height: min(62vh, 520px);
}
.agreement-modal .modal-footer {
  border-top: 1px solid #e2e8f0; background: #fff; padding: .85rem 1.25rem;
}
.agreement-modal .btn-agree-ok {
  background: linear-gradient(135deg, #4f46e5, #6366f1); border: none;
  border-radius: 10px; font-weight: 700; padding: .55rem 1.25rem;
  box-shadow: 0 8px 20px rgba(79,70,229,.25);
}
.agreement-doc {
  background: #fff; border-radius: 14px; padding: 1.15rem 1.25rem;
  border: 1px solid #e2e8f0; box-shadow: 0 4px 16px rgba(15,23,42,.04);
}
.agreement-doc-badge {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .75rem; font-weight: 700; color: #4f46e5;
  background: #eef2ff; border-radius: 999px; padding: .28rem .7rem;
  margin-bottom: 1rem;
}
.agreement-doc-h {
  font-size: .95rem; font-weight: 800; color: #0f172a;
  margin: 1rem 0 .45rem; line-height: 1.45;
}
.agreement-doc-h:first-of-type { margin-top: 0; }
.agreement-doc-p {
  font-size: .88rem; color: #334155; line-height: 1.75;
  white-space: pre-wrap; margin: 0 0 .85rem;
}
.agreement-doc-p:last-child { margin-bottom: 0; }

.goods-desc img { max-width: 100%; height: auto; border-radius: 8px; margin: .5rem 0; }
.goods-desc p:last-child { margin-bottom: 0; }
.goods-desc ul, .goods-desc ol { padding-left: 1.25rem; }

/* 首页广告 */
.home-ad-carousel { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.home-ad-carousel .carousel-inner { position: relative; width: 100%; overflow: hidden; }
.home-ad-carousel .carousel-item { display: none; width: 100%; }
.home-ad-carousel .carousel-item.active,
.home-ad-carousel .carousel-item-next,
.home-ad-carousel .carousel-item-prev { display: block; }
.home-ad-carousel .home-carousel-img { max-width: 100%; height: auto; display: block; margin: 0 auto; }
.home-ad-carousel .home-carousel-img.ad-img-fluid { width: 100%; }
.home-ad-carousel .carousel-item img { max-width: 100%; height: auto; display: block; }
.home-ad-carousel .carousel-item img.ad-img-fluid { width: 100%; }
.home-ad-carousel .home-carousel-text,
.home-carousel-stack .home-carousel-text {
  min-height: auto; padding: 1.25rem 1.5rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: #fff; font-size: 1rem; font-weight: 500; text-align: left;
  border-radius: var(--radius); overflow: hidden;
}
.home-ad-carousel .home-carousel-text.is-pinned,
.home-carousel-stack .home-carousel-text.is-pinned { background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%); }
.home-ad-carousel .home-carousel-link,
.home-carousel-stack .home-carousel-link { display: block; text-decoration: none; color: inherit; }
.home-carousel-stack { display: flex; flex-direction: column; gap: .75rem; }
.home-carousel-stack-item { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.home-top-ads { display: flex; flex-direction: column; gap: .75rem; }
.home-top-ad {
  display: block; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: #fff; text-decoration: none; color: var(--text); border: 1px solid #e2e8f0;
}
.home-top-ad.is-pinned { border-color: #f59e0b; box-shadow: 0 4px 20px rgba(245, 158, 11, .25); }
.home-top-ad img { max-width: 100%; height: auto; display: block; vertical-align: top; margin: 0 auto; }
.home-top-ad img.ad-img-fluid { width: 100%; }
.home-top-ad .home-top-ad-img.ad-img-fluid { width: 100%; }
.home-top-ad-text { display: block; padding: .85rem 1rem; font-weight: 600; background: linear-gradient(90deg, #eef2ff, #f0fdf4); }
.home-top-ad.is-pinned .home-top-ad-text { background: linear-gradient(90deg, #fff7ed, #fef3c7); }
.home-ad-rich { line-height: 1.6; word-break: break-word; }
.home-ad-rich img { max-width: 100%; height: auto; border-radius: 8px; }
.home-ad-rich p:last-child { margin-bottom: 0; }
.home-carousel-text.home-ad-rich { text-align: left; font-size: 1rem; font-weight: 500; }
.ad-preview-banner { border-left: 4px solid #f59e0b; }
.ad-preview-draft-hl {
  outline: 3px solid #f59e0b;
  outline-offset: 3px;
  border-radius: 12px;
  position: relative;
  box-shadow: 0 0 0 6px rgba(245, 158, 11, .18);
}
.ad-preview-draft-hl::before {
  content: '预览草稿';
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 5;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  padding: 4px 8px;
  border-radius: 999px;
  color: #78350f;
  background: #fde68a;
  box-shadow: 0 1px 4px rgba(0,0,0,.12);
}
.carousel-item.ad-preview-draft-hl { outline-offset: -3px; }

/* 网格模式：列表专用价区/操作区折叠进原布局 */
.list-price-cell { display: none; }
.list-actions { display: contents; }
.list-sales-inline { display: none; }

/* ========== 列表模式：主流发卡站式横排（标题 | 规格 | 大价格 | 操作） ========== */
.goods-trade-grid.goods-display-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.goods-trade-grid.goods-display-list .goods-trade-card {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.6fr) auto auto;
  grid-template-areas:
    "head head head actions"
    "title meta price actions"
    "foot foot foot actions";
  column-gap: 1rem;
  row-gap: .45rem;
  align-items: center;
  padding: 14px 16px;
  min-height: 0;
  transform: none;
}
.goods-trade-grid.goods-display-list .goods-trade-card:hover {
  transform: none;
  border-color: #a5b4fc;
  box-shadow: 0 8px 22px rgba(79, 70, 229, 0.1);
}
.goods-trade-grid.goods-display-list .trade-card-head {
  grid-area: head;
  margin: 0;
  padding: 0;
  min-height: 0;
  align-items: center;
}
.goods-trade-grid.goods-display-list .trade-card-badges-left {
  max-width: none;
}
.goods-trade-grid.goods-display-list .trade-badge-type {
  margin-left: .5rem;
}
.goods-trade-grid.goods-display-list .trade-card-sales,
.goods-trade-grid.goods-display-list .trade-card-pin-extra {
  display: none;
}
.goods-trade-grid.goods-display-list .list-sales-inline {
  display: inline-flex;
}
.goods-trade-grid.goods-display-list .trade-card-title {
  grid-area: title;
  margin: 0;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.3;
  padding-right: .25rem;
}
.goods-trade-grid.goods-display-list .trade-card-meta {
  grid-area: meta;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 0;
  align-items: center;
}
.goods-trade-grid.goods-display-list .trade-meta-row {
  display: inline-flex;
  align-items: center;
  gap: .25rem;
  margin: 0;
  padding: .2rem .55rem;
  background: #f8fafc;
  border: 1px solid #eef2f7;
  border-radius: 999px;
  font-size: .78rem;
}
.goods-trade-grid.goods-display-list .trade-meta-row dt {
  margin: 0;
  color: #94a3b8;
  font-weight: 600;
}
.goods-trade-grid.goods-display-list .trade-meta-row dd {
  margin: 0;
  text-align: left;
  color: #334155;
  font-weight: 700;
}
.goods-trade-grid.goods-display-list .trade-meta-price {
  display: none;
}
.goods-trade-grid.goods-display-list .list-price-cell {
  grid-area: price;
  display: block;
  text-align: right;
  min-width: 7.5rem;
  padding: 0 .25rem;
}
.goods-trade-grid.goods-display-list .list-price-cell .list-price-label {
  display: block;
  font-size: .72rem;
  color: #94a3b8;
  font-weight: 600;
  margin-bottom: .1rem;
}
.goods-trade-grid.goods-display-list .list-price-cell .trade-price {
  font-size: 1.45rem;
  font-weight: 800;
  color: #e11d48;
  letter-spacing: -.02em;
  line-height: 1.15;
}
.goods-trade-grid.goods-display-list .trade-after-sale {
  grid-area: foot;
  margin: 0;
  padding: .35rem 0 0;
  border-top: 1px dashed #e2e8f0;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem 1rem;
  align-items: center;
  background: none;
}
.goods-trade-grid.goods-display-list .trade-after-head {
  display: none;
}
.goods-trade-grid.goods-display-list .trade-merchant-row,
.goods-trade-grid.goods-display-list .trade-after-row {
  margin: 0;
  font-size: .78rem;
  color: #64748b;
  gap: .3rem;
}
.goods-trade-grid.goods-display-list .trade-after-label {
  color: #94a3b8;
}
.goods-trade-grid.goods-display-list .trade-after-scope span:last-child {
  max-width: 28rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.goods-trade-grid.goods-display-list .list-actions {
  grid-area: actions;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  min-width: 118px;
}
.goods-trade-grid.goods-display-list .trade-card-fav {
  position: static;
  flex-direction: row;
  min-width: 0;
  width: 100%;
  padding: 6px 8px;
  gap: 4px;
  justify-content: center;
}
.goods-trade-grid.goods-display-list .trade-card-btn {
  width: 100%;
  margin: 0;
  padding: 10px 14px;
  font-size: .9rem;
}
.goods-trade-grid.goods-display-list .trade-empty {
  width: 100%;
}
@media (max-width: 992px) {
  .goods-trade-grid.goods-display-list .goods-trade-card {
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "head actions"
      "title actions"
      "meta meta"
      "price price"
      "foot foot";
  }
  .goods-trade-grid.goods-display-list .list-price-cell {
    text-align: left;
    min-width: 0;
  }
}
@media (max-width: 576px) {
  .goods-trade-grid.goods-display-list .list-actions {
    min-width: 96px;
  }
  .goods-trade-grid.goods-display-list .trade-card-fav-text {
    display: none;
  }
}
