/* ============================================================
   小笨笨 大笨笨 商城 · 前台主题
   风格：白色毛玻璃 + 靛蓝紫(#667eea) + 红色价格 + SVG线性图标
   依据：首页参考 / 分类参考 / 底部导航ui 三份UI稿
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

:root {
  --primary: #667eea;
  --primary-deep: #764ba2;
  --primary-grad: linear-gradient(135deg, #667eea, #764ba2);
  --price: #ff6b6b;
  --text: #333;
  --text-2: #666;
  --text-3: #B0B0B0;
  --bg: #FFFFFF;
  --bg-soft: #F2F3F5;
  --border: rgba(0,0,0,0.06);
  --shadow-card: 0 2px 10px rgba(0,0,0,0.04);
  --radius: 16px;
}

html, body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
  overflow-x: hidden;
  padding-bottom: 120px; /* 给悬浮导航留空间 */
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
button, input { font-family: inherit; font-size: 14px; outline: none; border: none; background: none; }
ul, ol { list-style: none; }

/* ========== 顶部毛玻璃搜索栏 ========== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 0.5px solid var(--border);
  padding: 12px 16px;
  padding-top: max(12px, env(safe-area-inset-top));
}
.header-row { display: flex; align-items: center; gap: 12px; }
.header-title { font-size: 17px; font-weight: 700; color: var(--text); white-space: nowrap; }
.header-sub { font-size: 11px; color: var(--text-3); }

.search-bar {
  display: flex;
  align-items: center;
  background: var(--bg-soft);
  border-radius: 20px;
  padding: 10px 16px;
  gap: 8px;
}
.search-bar svg { width: 18px; height: 18px; stroke: var(--text-3); stroke-width: 2; fill: none; flex-shrink: 0; }
.search-bar input { flex: 1; border: none; background: transparent; font-size: 14px; color: var(--text); outline: none; }
.search-bar input::placeholder { color: var(--text-3); }
.search-btn { font-size: 14px; color: var(--primary); font-weight: 600; white-space: nowrap; cursor: pointer; }

/* ========== 流动公告（横向滚动） ========== */
.notice-bar {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  gap: 10px;
  background: rgba(102,126,234,0.04);
  border-bottom: 0.5px solid rgba(0,0,0,0.04);
}
.notice-icon { width: 18px; height: 18px; stroke: var(--primary); stroke-width: 2; fill: none; flex-shrink: 0; }
.notice-scroll { flex: 1; overflow: hidden; position: relative; }
.notice-track { display: flex; gap: 32px; animation: noticeScrollH 20s linear infinite; white-space: nowrap; width: max-content; }
.notice-track span { font-size: 12px; color: var(--text-2); white-space: nowrap; }
@keyframes noticeScrollH { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ========== 轮播图（可手动滑动） ========== */
.banner-section { padding: 12px 16px; }
.banner-wrapper { position: relative; border-radius: 16px; overflow: hidden; background: #F6F7FB; aspect-ratio: 2 / 1; }
.banner-track { display: flex; height: 100%; transition: transform 0.35s cubic-bezier(0.4,0,0.2,1); touch-action: pan-y; will-change: transform; }
.banner-item { position: relative; min-width: 100%; height: 100%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.banner-blur { position: absolute; inset: -24px; background-size: cover; background-position: center; filter: blur(18px); transform: scale(1.04); opacity: .55; }
.banner-item img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; object-position: center; display: block; }
.banner-item .placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: #555; font-size: 18px; font-weight: 600; }
.banner-item a { position: relative; z-index: 1; display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }

.banner-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; }
.banner-dots .dot { width: 6px; height: 6px; border-radius: 3px; background: rgba(0,0,0,0.15); transition: all 0.3s; }
.banner-dots .dot.active { width: 16px; background: var(--primary); }

/* ========== 分类（圆形左右滑动） ========== */
.category-section { padding: 8px 0; }
.category-scroll { display: flex; gap: 16px; padding: 12px 16px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.category-scroll::-webkit-scrollbar { display: none; }
.category-item { display: flex; flex-direction: column; align-items: center; gap: 6px; flex-shrink: 0; scroll-snap-align: start; cursor: pointer; transition: transform 0.25s; }
.category-item:active { transform: scale(0.92); }
.category-circle { width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 26px; background: var(--bg-soft); box-shadow: 0 2px 8px rgba(0,0,0,0.06); overflow: hidden; }
.category-circle img { width: 100%; height: 100%; object-fit: cover; }
.category-item span { font-size: 11px; color: var(--text-2); font-weight: 500; }

/* ========== 区块标题 ========== */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.section-title { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 700; color: var(--text); }
.section-title .fire-icon { width: 20px; height: 20px; stroke: var(--price); stroke-width: 2; fill: none; }
.section-more { font-size: 12px; color: var(--text-3); }

/* ========== 秒杀 ========== */
.seckill-section { padding: 16px; }
.countdown { display: flex; align-items: center; gap: 4px; font-size: 12px; color: var(--price); font-weight: 600; }
.countdown .time-box { background: var(--price); color: #fff; padding: 2px 6px; border-radius: 4px; font-size: 12px; }
.seckill-scroll { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.seckill-scroll::-webkit-scrollbar { display: none; }
.seckill-card { flex-shrink: 0; width: 120px; background: #fff; border-radius: 12px; overflow: hidden; border: 0.5px solid var(--border); box-shadow: var(--shadow-card); cursor: pointer; transition: transform 0.25s; }
.seckill-card:active { transform: scale(0.96); }
.seckill-img { width: 120px; height: 120px; display: flex; align-items: center; justify-content: center; font-size: 40px; background: #F8F8F8; overflow: hidden; }
.seckill-img img { width: 100%; height: 100%; object-fit: cover; }
.seckill-info { padding: 8px 10px; }
.seckill-name { font-size: 12px; color: var(--text); font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.seckill-price { display: flex; align-items: baseline; gap: 4px; margin-top: 4px; }
.seckill-price .current { font-size: 15px; font-weight: 700; color: var(--price); }
.seckill-price .original { font-size: 11px; color: var(--text-3); text-decoration: line-through; }

/* ========== 商品网格（默认一排两个，后台可配） ========== */
.goods-section { padding: 0 16px 16px; }
.goods-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.goods-grid.cols-4 { grid-template-columns: repeat(4, 1fr); gap: 8px; }
.goods-grid.cols-3 { grid-template-columns: repeat(3, 1fr); gap: 10px; }
.goods-card { background: #fff; border-radius: 14px; overflow: hidden; border: 0.5px solid var(--border); box-shadow: var(--shadow-card); cursor: pointer; transition: transform 0.25s; }
.goods-card:active { transform: scale(0.97); }
.goods-img { width: 100%; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; font-size: 48px; background: #F8F8F8; overflow: hidden; position: relative; }
.goods-img img { width: 100%; height: 100%; object-fit: cover; }
.goods-buy { display: inline-block; background: linear-gradient(135deg, var(--primary), var(--primary-deep)); color: #fff; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 8px; box-shadow: 0 3px 10px rgba(102,126,234,0.35); flex-shrink: 0; }
.goods-info { padding: 10px 12px; }
.goods-name { font-size: 13px; color: var(--text); font-weight: 500; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.goods-bottom { display: flex; align-items: center; justify-content: space-between; margin-top: 8px; }
.goods-price { font-size: 17px; font-weight: 700; color: var(--price); }
.goods-price::before { content: '¥'; font-size: 12px; }
.goods-sales { font-size: 11px; color: var(--text-3); }
.goods-extra { display: flex; justify-content: space-between; margin-top: 6px; font-size: 11px; color: var(--text-3); }
.goods-extra .stock { color: #52C41A; }
.goods-extra .orig-price { text-decoration: line-through; }
/* 一排4个时: 整卡正方形, 信息区精简 */
.goods-grid.cols-4 .goods-card { display: flex; flex-direction: column; }
.goods-grid.cols-4 .goods-img { flex: none; aspect-ratio: 1; }
.goods-grid.cols-4 .goods-info { padding: 6px 8px; }
.goods-grid.cols-4 .goods-name { font-size: 11.5px; -webkit-line-clamp: 1; }
.goods-grid.cols-4 .goods-bottom { margin-top: 4px; }
.goods-grid.cols-4 .goods-price { font-size: 14px; }
.goods-grid.cols-4 .goods-sales { font-size: 10px; }
.goods-grid.cols-4 .goods-extra { display: none; }
.goods-grid.cols-4 .goods-buy { font-size: 10px; padding: 3px 9px; }
.goods-grid.cols-4 .goods-card { border-radius: 12px; }
.seckill-img { position: relative; }
.seckill-tag { position: absolute; left: 6px; top: 6px; background: rgba(0,0,0,0.55); color: #fff; font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 8px; }
.seckill-tag:empty { display: none; }

/* ========== 分类页 ========== */
.category-page { display: flex; min-height: calc(100vh - 64px); }
.cat-sidebar { width: 88px; flex-shrink: 0; background: #FAFAFA; border-right: 0.5px solid var(--border); overflow-y: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
.cat-sidebar::-webkit-scrollbar { display: none; }
.cat-sidebar-item { display: flex; align-items: center; justify-content: center; padding: 16px 8px; font-size: 13px; color: var(--text-2); font-weight: 500; cursor: pointer; transition: all 0.25s; position: relative; text-align: center; line-height: 1.3; }
.cat-sidebar-item.active { color: var(--primary); font-weight: 700; background: #FFFFFF; }
.cat-sidebar-item.active::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 3px; height: 20px; border-radius: 0 3px 3px 0; background: var(--primary); }
.cat-content { flex: 1; padding: 16px; overflow-y: auto; -webkit-overflow-scrolling: touch; }
.cat-section { margin-bottom: 24px; }
.cat-section-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 14px; display: flex; align-items: center; gap: 6px; }
.cat-section-title .title-bar { width: 3px; height: 14px; border-radius: 2px; background: var(--primary); }
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px 10px; }
.cat-grid-item { display: flex; flex-direction: column; align-items: center; gap: 6px; cursor: pointer; transition: transform 0.2s; }
.cat-grid-item:active { transform: scale(0.92); }
.cat-grid-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; font-size: 26px; box-shadow: 0 2px 8px rgba(0,0,0,0.04); transition: background 0.2s; overflow: hidden; }
.cat-grid-icon img { width: 100%; height: 100%; object-fit: cover; }
.cat-grid-item:active .cat-grid-icon { background: #ECEEF8; }
.cat-grid-item span { font-size: 11px; color: #555; font-weight: 500; text-align: center; }

/* ========== 悬浮胶囊底部导航 ========== */
.tabbar-container { position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%); width: calc(100% - 48px); max-width: 440px; z-index: 999; animation: floatUpDown 3s ease-in-out infinite; }
@keyframes floatUpDown { 0%, 100% { transform: translateX(-50%) translateY(0); } 50% { transform: translateX(-50%) translateY(-6px); } }
.tabbar { display: flex; align-items: center; justify-content: space-around; background: rgba(255,255,255,0.92); backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); border-radius: 28px; border: 1.5px solid rgba(0,0,0,0.08); box-shadow: 0 8px 32px rgba(0,0,0,0.08), inset 0 1px 0 rgba(255,255,255,0.8); padding: 14px 6px; height: 68px; }
.tab-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; cursor: pointer; transition: all 0.35s cubic-bezier(0.4,0,0.2,1); border-radius: 18px; padding: 6px 2px; position: relative; -webkit-tap-highlight-color: transparent; user-select: none; }
.tab-item .icon-wrapper { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 12px; transition: all 0.35s cubic-bezier(0.4,0,0.2,1); position: relative; }
.tab-item .icon-wrapper svg { width: 22px; height: 22px; stroke: var(--text-3); stroke-width: 2; fill: none; transition: all 0.35s cubic-bezier(0.4,0,0.2,1); }
.tab-item .label { font-size: 10px; font-weight: 500; color: var(--text-3); transition: all 0.35s cubic-bezier(0.4,0,0.2,1); line-height: 1; letter-spacing: 0.3px; }
.tab-item.active .icon-wrapper { background: var(--primary-grad); transform: translateY(-5px) scale(1.08); box-shadow: 0 4px 14px rgba(102,126,234,0.4); }
.tab-item.active .icon-wrapper svg { stroke: #FFFFFF; stroke-width: 2.2; transform: scale(1.1); }
.tab-item.active .label { color: var(--primary); font-weight: 700; transform: translateY(-2px); }
.tab-item.active::after { content: ''; position: absolute; bottom: 1px; width: 5px; height: 5px; border-radius: 50%; background: var(--primary); box-shadow: 0 0 6px rgba(102,126,234,0.5); animation: dotPop 0.3s cubic-bezier(0.4,0,0.2,1); }
@keyframes dotPop { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.tab-item::before { content: ''; position: absolute; top: 50%; left: 50%; width: 0; height: 0; border-radius: 50%; background: rgba(102,126,234,0.1); transform: translate(-50%,-50%); transition: width 0.5s ease, height 0.5s ease; z-index: -1; }
.tab-item:active::before { width: 70px; height: 70px; }

/* ========== 客服悬浮球 ========== */
.kf-float { position: fixed; right: 16px; bottom: 120px; z-index: 998; width: 52px; height: 52px; border-radius: 50%; background: var(--primary-grad); box-shadow: 0 6px 20px rgba(102,126,234,0.45); display: flex; align-items: center; justify-content: center; cursor: pointer; animation: kfPulse 2.5s ease-in-out infinite; }
.kf-float svg { width: 26px; height: 26px; stroke: #fff; stroke-width: 2; fill: none; }
.kf-float .kf-badge { position: absolute; top: -2px; right: -2px; min-width: 18px; height: 18px; border-radius: 9px; background: var(--price); color: #fff; font-size: 10px; display: flex; align-items: center; justify-content: center; padding: 0 4px; border: 2px solid #fff; }
@keyframes kfPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.06); } }

/* 客服聊天面板 */
.kf-panel { position: fixed; right: 16px; bottom: 180px; z-index: 997; width: calc(100% - 32px); max-width: 340px; height: 480px; background: #fff; border-radius: 20px; box-shadow: 0 12px 40px rgba(0,0,0,0.16); border: 0.5px solid var(--border); display: none; flex-direction: column; overflow: hidden; }
.kf-panel.open { display: flex; }
.kf-head { background: var(--primary-grad); padding: 14px 16px; color: #fff; display: flex; align-items: center; gap: 10px; }
.kf-head .avatar { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.25); display: flex; align-items: center; justify-content: center; font-size: 18px; overflow: hidden; }
.kf-head .avatar img { width: 100%; height: 100%; object-fit: cover; }
.kf-head .kf-name { font-size: 15px; font-weight: 600; }
.kf-head .kf-status { font-size: 11px; opacity: 0.85; }
.kf-head .kf-close { margin-left: auto; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.kf-head .kf-close svg { width: 18px; height: 18px; stroke: #fff; stroke-width: 2; fill: none; }
.kf-body { flex: 1; overflow-y: auto; padding: 12px; background: #F7F8FA; }
.kf-msg { display: flex; gap: 8px; margin-bottom: 10px; }
.kf-msg .bubble { max-width: 78%; padding: 9px 12px; border-radius: 14px; font-size: 13px; line-height: 1.5; word-break: break-word; }
.kf-msg.from-user { flex-direction: row-reverse; }
.kf-msg.from-user .bubble { background: var(--primary); color: #fff; border-bottom-right-radius: 4px; }
.kf-msg.from-kf .bubble { background: #fff; color: var(--text); border-bottom-left-radius: 4px; border: 0.5px solid var(--border); }
.kf-msg .time { font-size: 10px; color: var(--text-3); align-self: flex-end; }
.kf-quick { display: flex; gap: 8px; padding: 8px 12px; flex-wrap: wrap; background: #fff; border-top: 0.5px solid var(--border); }
.kf-quick span { font-size: 12px; color: var(--primary); background: #F0F2FF; border-radius: 12px; padding: 4px 10px; cursor: pointer; }
.kf-input-row { display: flex; align-items: center; gap: 8px; padding: 10px 12px; background: #fff; border-top: 0.5px solid var(--border); }
.kf-input-row input { flex: 1; background: var(--bg-soft); border-radius: 16px; padding: 8px 12px; font-size: 13px; }
.kf-input-row .kf-send { background: var(--primary-grad); color: #fff; border-radius: 16px; padding: 8px 14px; font-size: 13px; cursor: pointer; white-space: nowrap; }

/* ========== 通用页面容器 ========== */
.page { padding: 16px; }
.page-title { font-size: 18px; font-weight: 700; margin-bottom: 14px; }
.card { background: #fff; border-radius: var(--radius); border: 0.5px solid var(--border); box-shadow: var(--shadow-card); padding: 16px; margin-bottom: 14px; }
.card-title { font-size: 15px; font-weight: 600; margin-bottom: 10px; display: flex; align-items: center; gap: 6px; }
.card-title .bar { width: 3px; height: 14px; border-radius: 2px; background: var(--primary); }

/* 分站开通页: 信息行/提示/空态 */
.list-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 13px; border-bottom: 0.5px solid var(--border); }
.list-row:last-child { border-bottom: none; }
.list-row .k { color: var(--text-2); flex-shrink: 0; }
.list-row .v { color: var(--text); font-weight: 500; text-align: right; word-break: break-all; }
.alert { font-size: 12.5px; line-height: 1.7; border-radius: 12px; padding: 10px 12px; margin: 6px 0 12px; color: var(--text-2); background: var(--bg-soft); }
.alert.info { background: #EEF2FF; color: #4C5FD5; }
.alert.ok { background: #EFFBF5; color: #2FBFA3; }
.alert b { color: var(--text); }
.empty-tip { text-align: center; color: var(--text-3); font-size: 13px; padding: 28px 0; }

/* 商品详情 */
.detail-img { width: 100%; aspect-ratio: 1; background: #F8F8F8; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.detail-img img { width: 100%; height: 100%; object-fit: cover; }
.detail-body { padding: 16px; }
.detail-price-row { display: flex; align-items: baseline; gap: 8px; }
.detail-price { font-size: 26px; font-weight: 700; color: var(--price); }
.detail-price::before { content: '¥'; font-size: 15px; }
.detail-orig { font-size: 13px; color: var(--text-3); text-decoration: line-through; }
.detail-name { font-size: 17px; font-weight: 600; margin-top: 8px; line-height: 1.4; }
.detail-meta { display: flex; gap: 16px; margin-top: 10px; font-size: 12px; color: var(--text-2); }
.detail-meta .num { color: var(--price); font-weight: 600; }
.detail-section { margin-top: 16px; }
.detail-section .desc { font-size: 13px; color: var(--text-2); line-height: 1.7; white-space: pre-wrap; word-break: break-word; }
.buy-bar { position: fixed; bottom: 116px; left: 50%; transform: translateX(-50%); width: calc(100% - 48px); max-width: 440px; z-index: 99; display: flex; gap: 10px; }
.buy-bar .buy-btn { flex: 1; background: var(--primary-grad); color: #fff; border-radius: 24px; padding: 12px 0; font-size: 15px; font-weight: 600; text-align: center; cursor: pointer; box-shadow: 0 6px 20px rgba(102,126,234,0.35); }
.buy-bar .kf-btn { width: 52px; border-radius: 26px; background: #fff; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; cursor: pointer; }
.buy-bar .kf-btn svg { width: 22px; height: 22px; stroke: var(--primary); stroke-width: 2; fill: none; }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; background: var(--primary-grad); color: #fff; border-radius: 24px; padding: 11px 28px; font-size: 15px; font-weight: 600; cursor: pointer; border: none; transition: opacity 0.2s; }
.btn:active { opacity: 0.85; }
.btn.block { width: 100%; }
.btn.ghost { background: #fff; color: var(--primary); border: 1px solid var(--primary); }
.btn.danger { background: var(--price); }
.btn.disabled, .btn[disabled] { opacity: 0.5; pointer-events: none; }

/* 表单 */
.form-item { margin-bottom: 16px; }
.form-item label { display: block; font-size: 13px; color: var(--text-2); margin-bottom: 6px; }
.form-item .input { width: 100%; background: #fff; border: 1.5px solid #D9DDE5; border-radius: 14px; padding: 12px 14px; font-size: 14px; color: var(--text); }
.form-item .input:focus, .input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(102,126,234,0.10); background: #fff; }

.form-check { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-2); }
.form-check input { width: 16px; height: 16px; accent-color: var(--primary); }
.form-check a { color: var(--primary); }

/* 协议弹窗 */
.modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 1000; display: none; align-items: center; justify-content: center; padding: 24px; }
.modal-mask.open { display: flex; }
.modal { width: 100%; max-width: 420px; max-height: 70vh; background: #fff; border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; animation: modalIn 0.3s cubic-bezier(0.4,0,0.2,1); }
@keyframes modalIn { from { transform: scale(0.92); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal-head { padding: 16px; font-size: 16px; font-weight: 700; text-align: center; border-bottom: 0.5px solid var(--border); }
.modal-body { flex: 1; overflow-y: auto; padding: 16px; font-size: 13px; color: var(--text-2); line-height: 1.7; white-space: pre-wrap; }
.modal-foot { padding: 12px 16px; border-top: 0.5px solid var(--border); display: flex; gap: 10px; }
.modal-foot .btn { flex: 1; }

/* 公告弹窗（首页弹出） */
.pop-mask { position: fixed; inset: 0; background: rgba(0,0,0,0.45); z-index: 1001; display: none; align-items: center; justify-content: center; padding: 24px; }
.pop-mask.open { display: flex; }
.pop-box { width: 100%; max-width: 360px; background: #fff; border-radius: 20px; overflow: hidden; animation: modalIn 0.3s cubic-bezier(0.4,0,0.2,1); }
.pop-box .pop-head { background: var(--primary-grad); color: #fff; padding: 16px; text-align: center; font-size: 16px; font-weight: 700; }
.pop-box .pop-body { padding: 16px; font-size: 13px; color: var(--text-2); line-height: 1.7; white-space: pre-wrap; max-height: 50vh; overflow-y: auto; }
.pop-box .pop-foot { padding: 12px 16px; display: flex; gap: 10px; }
.pop-box .pop-foot .btn { flex: 1; }

/* 飘屏（下单提示） */
.float-tip { position: fixed; top: 70px; left: 50%; transform: translateX(-50%); z-index: 1002; display: flex; flex-direction: column; gap: 8px; pointer-events: none; }
.float-tip-item { background: rgba(255,255,255,0.95); backdrop-filter: blur(12px); border: 0.5px solid var(--border); border-radius: 20px; padding: 8px 16px; font-size: 12px; color: var(--text-2); box-shadow: 0 6px 24px rgba(0,0,0,0.08); white-space: normal; word-break: break-word; max-width: min(84vw, 380px); animation: tipIn 0.3s ease; }
.float-tip-item b { color: var(--primary); }
@keyframes tipIn { from { transform: translateY(-12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* 列表行 */
.row { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 0.5px solid var(--border); }
.row:last-child { border-bottom: none; }
.row .row-icon { width: 40px; height: 40px; border-radius: 12px; background: var(--bg-soft); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.row .row-icon svg { width: 20px; height: 20px; stroke: var(--primary); stroke-width: 2; fill: none; }
.row .row-main { flex: 1; min-width: 0; }
.row .row-title { font-size: 14px; font-weight: 500; color: var(--text); }
.row .row-sub { font-size: 12px; color: var(--text-3); margin-top: 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.row .row-arrow { color: var(--text-3); font-size: 16px; flex-shrink: 0; }

/* 徽章/标签 */
.tag { display: inline-block; font-size: 11px; padding: 2px 8px; border-radius: 10px; background: #F0F2FF; color: var(--primary); }
.tag.green { background: #E8F8EC; color: #52C41A; }
.tag.red { background: #FFECEC; color: var(--price); }
.tag.orange { background: #FFF4E6; color: #FA8C16; }
.tag.gray { background: #F2F3F5; color: var(--text-2); }

/* 余额卡片 */
.balance-card { background: var(--primary-grad); border-radius: 18px; padding: 20px; color: #fff; position: relative; overflow: hidden; }
.balance-card::after { content: ''; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,0.12); }
.balance-card::before { content: ''; position: absolute; right: 10px; bottom: -40px; width: 100px; height: 100px; border-radius: 50%; background: rgba(255,255,255,0.08); }
.balance-card .label { font-size: 12px; opacity: 0.85; }
.balance-card .amount { font-size: 30px; font-weight: 700; margin-top: 6px; }
.balance-card .amount small { font-size: 14px; font-weight: 400; opacity: 0.85; }
.balance-card .actions { display: flex; gap: 10px; margin-top: 14px; position: relative; z-index: 1; }
.balance-card .actions a { background: rgba(255,255,255,0.2); color: #fff; border-radius: 16px; padding: 6px 14px; font-size: 12px; }

/* 签到日历简化 */
.sign-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 6px; }
.sign-cell { aspect-ratio: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 10px; background: var(--bg-soft); font-size: 11px; color: var(--text-2); }
.sign-cell .d { font-weight: 600; }
.sign-cell.done { background: #F0F2FF; color: var(--primary); }
.sign-cell.today { border: 1px solid var(--primary); }

/* 订单状态条 */
.status-strip { display: flex; background: var(--bg-soft); border-radius: 12px; padding: 6px; gap: 4px; margin-bottom: 14px; }
.status-strip a { flex: 1; text-align: center; font-size: 13px; color: var(--text-2); padding: 8px 0; border-radius: 10px; }
.status-strip a.active { background: #fff; color: var(--primary); font-weight: 600; box-shadow: 0 2px 8px rgba(0,0,0,0.06); }

/* 搜索框（订单查询等） */
.search-form { display: flex; gap: 8px; margin-bottom: 14px; }
.search-form input { flex: 1; background: var(--bg-soft); border-radius: 16px; padding: 10px 14px; font-size: 13px; }
.search-form button { background: var(--primary-grad); color: #fff; border-radius: 16px; padding: 10px 18px; font-size: 13px; cursor: pointer; }

/* 空状态 */
.empty { text-align: center; padding: 48px 0; color: var(--text-3); }
.empty svg { width: 60px; height: 60px; stroke: #D8DAE5; stroke-width: 1.5; fill: none; margin-bottom: 10px; }
.empty p { font-size: 13px; }

/* 响应式 */
@media (max-width: 375px) {
  .tabbar-container { width: calc(100% - 28px); bottom: 18px; }
  .tabbar { border-radius: 24px; height: 62px; padding: 12px 4px; }
  .tab-item .icon-wrapper { width: 32px; height: 32px; }
  .tab-item .icon-wrapper svg { width: 20px; height: 20px; }
  .tab-item .label { font-size: 9px; }
  .cat-sidebar { width: 76px; }
  .cat-sidebar-item { font-size: 12px; padding: 14px 6px; }
  .cat-grid-icon { width: 46px; height: 46px; font-size: 22px; }
  .kf-panel { bottom: 160px; }
  .buy-bar { bottom: 104px; }
}

/* 支付方式徽章(圆角文字图标) */
.pay-ic {
  width: 38px; height: 38px; border-radius: 10px; flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 700; color: #fff;
}
.pay-ic.ali { background: linear-gradient(135deg, #1677FF, #4DA3FF); }
.pay-ic.wx { background: linear-gradient(135deg, #09BB07, #3ED53E); }



/* ========== 公告富文本渲染样式 ========== */
.rich-html { font-size: 13px; line-height: 1.75; word-break: break-word; }
.rich-html h2 { font-size: 16px; font-weight: 700; margin: 6px 0 4px; }
.rich-html h3 { font-size: 14.5px; font-weight: 700; margin: 6px 0 4px; }
.rich-html p { margin: 4px 0; }
.rich-html ul, .rich-html ol { margin: 4px 0; padding-left: 22px; }
.rich-html a { color: var(--primary); text-decoration: underline; }
.rich-html img { max-width: 100%; border-radius: 8px; vertical-align: middle; }
.rich-html b, .rich-html strong { font-weight: 700; }
.rich-html em { font-style: italic; }


/* ========== 手机端整体适配优化 ========== */
@media (max-width: 480px) {
  .page { padding: 12px; }
  .card { padding: 14px; }
  .page-title { font-size: 16px; margin-bottom: 10px; }
  .goods-section { padding: 0 12px 12px; }
  .goods-grid { gap: 10px; }
  /* 一排四个的商品: 手机上自动变两排, 且保持正方形 */
  .goods-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .goods-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .goods-info { padding: 8px 10px; }
  .goods-name { font-size: 12.5px; }
  .goods-price { font-size: 14px; }
  .goods-buy { padding: 5px 12px; font-size: 12px; border-radius: 9px; }
  .banner-wrapper { border-radius: 14px; }
  .banner { margin: 0 12px; }
  /* 底部悬浮导航 */
  .tabbar-container { width: calc(100% - 24px); bottom: 14px; }
  .tabbar { border-radius: 22px; height: 60px; }
  .tab-item .icon-wrapper { width: 30px; height: 30px; }
  .tab-item .icon-wrapper svg { width: 19px; height: 19px; }
  /* 客服 */
  .kf-panel { right: 6px; bottom: 88px; width: calc(100% - 12px); max-width: 340px; border-radius: 18px; }
  .kf-float { right: 10px; bottom: 112px; width: 46px; height: 46px; }
  /* 触控与表单 */
  .btn { min-height: 38px; }
  .input { font-size: 16px; }
  .row { padding: 12px 0; }
  /* 横向内容统一可滚动 */
  .tbl-wrap, .scroll-x { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  /* 弹窗适配 */
  .modal-mask { padding: 16px; }
  .modal { width: 92%; max-width: 340px; }
  /* 余额/会员卡 */
  .balance-card { padding: 16px; border-radius: 16px; }
  .balance-card .balance-num { font-size: 26px; }
  /* 订单卡按钮堆叠不挤压 */
  .order-actions { flex-wrap: wrap; gap: 6px; }
  /* 分类页 */
  .cat-sidebar { width: 82px; }
  .cat-sidebar-item { font-size: 12px; padding: 13px 6px; }
  .cat-grid-icon { width: 44px; height: 44px; font-size: 21px; }
  /* 秒杀头图 */
  .seckill-head { flex-wrap: wrap; gap: 6px; }
  /* 底部安全区 */
  body { padding-bottom: 78px; }
}

/* 超小屏再收紧 */
@media (max-width: 340px) {
  .goods-grid.cols-4, .goods-grid.cols-3 { gap: 8px; }
  .goods-buy { padding: 4px 9px; font-size: 11px; }
  .page { padding: 10px; }
  .card { padding: 12px; }
}


/* ========== 最新购买滚动条(参考 PC 端购买记录通栏) ========== */
.live-bar {
  display: flex; align-items: center; gap: 9px;
  margin: 0 16px 8px; padding: 9px 14px;
  background: #fff; border-radius: 13px;
  border: 0.5px solid var(--border); box-shadow: var(--shadow-card);
  overflow: hidden;
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-deep));
  flex-shrink: 0; animation: livePulse 1.6s ease-in-out infinite;
}
@keyframes livePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(102,126,234,0.35); }
  50% { box-shadow: 0 0 0 6px rgba(102,126,234,0); }
}
.live-track { flex: 1; white-space: nowrap; overflow: hidden; font-size: 12px; color: var(--text-2); }
.live-item { display: inline-block; margin-right: 36px; flex: 0 0 auto; }
.live-empty { color: var(--text-3); }
.live-scroll { animation: liveScroll 26s linear infinite; }
@keyframes liveScroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }

/* ========== PC 端: 宽幅横幅视觉 ========== */
@media (min-width: 481px) {
  .banner-section { padding: 16px 20px 6px; }
  .banner-wrapper { border-radius: 20px; aspect-ratio: 21 / 9; box-shadow: 0 10px 30px rgba(30,40,90,0.08); }
  .live-bar { margin: 0 20px 8px; padding: 10px 16px; border-radius: 14px; max-width: 1160px; }
  .live-item { font-size: 13px; }
}
@media (min-width: 901px) {
  .page { max-width: 1200px; margin: 0 auto; }
}

/* 移动端: 所有输入框 16px, 防止 iOS 聚焦自动放大导致页面跑偏 */
@media (max-width: 480px) {
  input, textarea, select { font-size: 16px !important; }
}
/* 购买记录分隔符(参考站风格) */
.live-item::after { content: '|'; margin-left: 20px; color: #E6E8F0; }


/* 等级小标签(简约) */
.lv-tag { display: inline-block; padding: 2px 10px; border-radius: 999px; background: #F0F2FF; color: var(--primary); font-size: 11px; font-weight: 600; border: 1px solid #E3E7FF; vertical-align: middle; }
.lv-tag.lv-green { background: #F0FBF4; color: #22A55D; border-color: #D8F0E2; }

/* ============ PC 版电脑模板 (≥901px; 参考 demo.yuedongsup.cn: 顶部三行 + 横幅 + 分类 + 商品 + 四特色) ============ */
.pc-top, .pc-feature, .pc-main { display: none; }
@media (min-width: 901px) {
  /* ---------- 顶栏: 一行(站名 + 商品分类下拉 + 搜索 + 登录区, 按手绘草稿) ---------- */
  .pc-top { display: block; background: #fff; border-bottom: 1px solid #EEF0F6; box-shadow: 0 2px 14px rgba(30,41,59,0.05); position: sticky; top: 0; z-index: 100; }
  .pc-top-in { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 22px; padding: 13px 20px; box-sizing: border-box; }
  .pc-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
  .pc-logo img { width: 40px; height: 40px; border-radius: 12px; object-fit: cover; }
  .pc-logo-ic { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, var(--primary), #3B82F6); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .pc-logo-ic svg { width: 22px; height: 22px; stroke: #fff; }
  .pc-logo-name { font-size: 20px; font-weight: 700; background: linear-gradient(135deg, var(--primary), #3B82F6); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
  .pc-cat-drop { position: relative; flex-shrink: 0; }
  .pc-cat-btn { display: flex; align-items: center; gap: 6px; background: var(--primary-grad); color: #fff; font-size: 14px; font-weight: 600; padding: 10px 20px; border-radius: 999px; cursor: pointer; }
  .pc-cat-btn svg { width: 14px; height: 14px; stroke: #fff; fill: none; }
  .pc-cat-menu { position: absolute; top: calc(100% + 10px); left: 0; min-width: 210px; background: #fff; border: 1px solid #EEF0F8; border-radius: 14px; box-shadow: 0 16px 44px rgba(30,41,59,0.14); padding: 8px; display: none; z-index: 200; }
  .pc-cat-drop:hover .pc-cat-menu, .pc-cat-drop:focus-within .pc-cat-menu { display: block; }
  .pc-cat-menu a { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 8px; font-size: 13px; color: #334155; text-decoration: none; }
  .pc-cat-menu a:hover { background: #F4F6FD; color: var(--primary); }
  .pc-cat-menu a img { width: 22px; height: 22px; border-radius: 6px; object-fit: cover; }
  .pc-search { flex: 1; max-width: 520px; min-width: 0; display: flex; align-items: center; gap: 10px; background: #F4F6FC; border: 1.5px solid #E4E9FB; border-radius: 999px; padding: 9px 9px 9px 20px; box-sizing: border-box; transition: border-color .2s, box-shadow .2s; }
  .pc-search:focus-within { border-color: #1677FF; box-shadow: 0 0 0 3px rgba(22,119,255,0.12); background: #fff; }
  .pc-search svg { width: 18px; height: 18px; stroke: #9AA3BC; stroke-width: 2; fill: none; flex-shrink: 0; }
  .pc-search input { flex: 1; min-width: 0; border: none; background: transparent; font-size: 14.5px; outline: none; color: #1E293B; }
  .pc-search input::placeholder { color: #A8B2C9; }
  .pc-search-btn { background: linear-gradient(135deg, var(--primary), #3B82F6); color: #fff; font-size: 13.5px; font-weight: 600; padding: 8px 24px; border-radius: 999px; cursor: pointer; flex-shrink: 0; }
  .pc-top-user { margin-left: auto; display: flex; align-items: center; gap: 16px; font-size: 13px; color: #64748B; flex-shrink: 0; }
  .pc-top-user a { color: #64748B; text-decoration: none; }
  .pc-top-user a:hover { color: var(--primary); }
  .pc-user-name { font-weight: 600; color: #334155; }
  .pc-reg-btn { background: var(--primary-grad); color: #fff !important; padding: 7px 20px; border-radius: 999px; font-weight: 600; }

  /* ---------- 手机模块 PC 隐藏 ---------- */
  .header { display: none !important; }
  .tabbar-container { display: none !important; }
  body { padding-bottom: 0 !important; }

  /* ---------- 页面整体 ---------- */
  .page { max-width: 1200px; margin: 0 auto; padding: 22px 20px 46px; }
  .live-bar { margin: 14px auto 0; max-width: 1160px; }
  .banner-section { padding: 18px 20px 4px; }
  .banner-wrapper { border-radius: 18px; aspect-ratio: 21 / 9; }

  /* ---------- 分类: PC 居中横排 ---------- */
  .category-section { padding: 12px 20px 2px; max-width: 1200px; margin: 0 auto; }
  .category-scroll { flex-wrap: wrap; justify-content: center; gap: 16px 22px; overflow: visible; padding: 16px 0; scroll-snap-type: none; }
  .category-item { flex-shrink: 1; }
  .category-circle { width: 60px; height: 60px; font-size: 27px; }

  /* ---------- 秒杀: 5 列网格 ---------- */
  .seckill-section { padding: 18px 20px; max-width: 1200px; margin: 0 auto; }
  .seckill-scroll { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; overflow: visible; }
  .seckill-card { width: auto; border-radius: 16px; }
  .seckill-img { width: 100%; aspect-ratio: 1; height: auto; }

  /* ---------- 商品: 默认 4 列正方形 ---------- */
  .goods-section { padding: 8px 20px 26px; max-width: 1200px; margin: 0 auto; }
  .goods-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .goods-grid.cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .goods-grid.cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
  .goods-card { border-radius: 16px; box-shadow: 0 6px 24px rgba(30,41,59,0.06); display: flex; flex-direction: column; }
  .goods-grid.cols-4 .goods-card { border-radius: 16px; }
  .goods-img, .goods-grid.cols-4 .goods-img { aspect-ratio: 1; }
  .goods-info { padding: 10px 12px; }
  .goods-grid.cols-4 .goods-info { padding: 10px 12px; }
  .goods-grid.cols-4 .goods-name { font-size: 13px; -webkit-line-clamp: 1; }
  .goods-grid.cols-4 .goods-price { font-size: 16px; }
  .goods-grid.cols-4 .goods-buy { font-size: 12px; padding: 6px 16px; border-radius: 999px; }
  .goods-grid.cols-4 .goods-extra { display: flex; }

  /* ---------- 底部服务承诺卡 ---------- */
  .pc-feature { display: block; padding: 6px 20px 34px; }
  .pc-feature-in { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
  .pc-f-item { display: flex; align-items: center; justify-content: center; gap: 12px; background: #fff; border: 1px solid #EEF0F8; border-radius: 16px; padding: 18px 10px; box-shadow: 0 4px 18px rgba(30,41,59,0.04); }
  .pc-f-ic { width: 40px; height: 40px; border-radius: 12px; background: linear-gradient(135deg, rgba(102,126,234,0.12), rgba(118,75,162,0.12)); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
  .pc-f-ic.ok { background: #EFFBF5; }
  .pc-f-ic svg { width: 21px; height: 21px; stroke: var(--primary); stroke-width: 1.8; fill: none; }
  .pc-f-ic.ok svg { stroke: #22A55D; stroke-width: 2.4; }
  .pc-f-item span:last-child { font-size: 13px; font-weight: 600; color: #334155; }

  /* ---------- 商品详情: PC 双栏(左图右信息) ---------- */
  .page-detail .detail-wrap { max-width: 1200px; margin: 0 auto; padding: 22px 20px 60px; display: grid; grid-template-columns: 400px 1fr; gap: 28px; align-items: start; }
  .page-detail .detail-img { border-radius: 20px; overflow: hidden; aspect-ratio: 1; box-shadow: 0 10px 30px rgba(30,41,59,0.08); position: sticky; top: 84px; }
  .page-detail .detail-body { padding: 0; }
  .page-detail .detail-name { font-size: 20px; }
  .page-detail .detail-price { font-size: 30px; }
  .page-detail .detail-body .card { border-radius: 16px; }

  /* ---------- 下单页: 表单限宽居中 ---------- */
  .page-order .page { max-width: 760px; margin: 0 auto; }

  /* ---------- 商品详情/下单: 底部购买栏 PC 定位(右下悬浮) ---------- */
  .buy-bar { bottom: 26px; left: auto; right: 30px; transform: none; width: auto; max-width: none; gap: 12px; }
  .buy-bar .buy-btn { padding: 13px 40px; border-radius: 999px; font-size: 15px; box-shadow: 0 8px 24px rgba(102,126,234,0.35); }
  .buy-bar .kf-btn { width: 54px; border-radius: 50%; }

  /* ---------- 客服悬浮球与面板 PC 定位 ---------- */
  .kf-float { right: 30px; bottom: 30px; width: 54px; height: 54px; }
  .kf-panel { right: 96px; bottom: 30px; left: auto; width: 360px; max-width: 360px; height: 500px; }

  /* ---------- 通用卡片 PC 观感 ---------- */
  .card { border-radius: 16px; box-shadow: 0 4px 20px rgba(30,41,59,0.05); }

  /* ---------- 分类页: 左右分栏 PC 拉宽 ---------- */
  .cat-sidebar { width: 130px; }
  .cat-grid { grid-template-columns: repeat(5, 1fr); gap: 20px 14px; }
}



/* ========== PC 首页三栏主体(按手绘草稿, ≥901px) ========== */
@media (min-width: 901px) {
  /* 手机端首页模块在 PC 隐藏, 由 pc-main 替代 */
  .banner-section, .category-section, .seckill-section, .goods-section, .live-bar { display: none !important; }
  .pc-main { display: grid; grid-template-columns: 150px minmax(0,1fr) 230px; gap: 16px; max-width: 1200px; margin: 20px auto 0; padding: 0 20px; align-items: start; }
  .pc-col { min-width: 0; }
  .pc-col-left .pc-side-card { margin-bottom: 16px; }
  .pc-side-card { background: #fff; border: 1px solid #EEF0F8; border-radius: 16px; padding: 16px; box-shadow: 0 4px 18px rgba(30,41,59,0.04); }
  .pc-side-title { font-size: 15px; font-weight: 700; color: #2D3561; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
  .pc-side-title::before { content: ''; width: 4px; height: 14px; border-radius: 2px; background: var(--primary); }
  /* 左栏: 分类圆点 */
  .pc-cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .pc-cat-grid a { text-decoration: none; display: block; }
  .pc-cat-c { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 9px 4px; border-radius: 12px; background: #F8FAFD; }
  .pc-cat-c:hover { background: rgba(102,126,234,0.08); }
  .pc-cat-c img { width: 36px; height: 36px; border-radius: 10px; object-fit: cover; }
  .pc-cat-c i { width: 36px; height: 36px; border-radius: 12px; background: linear-gradient(135deg, rgba(102,126,234,0.14), rgba(118,75,162,0.14)); display: flex; align-items: center; justify-content: center; font-style: normal; font-weight: 600; color: var(--primary); }
  .pc-cat-c span { font-size: 12px; color: #475569; }
  /* 左栏: 登录注册 / 用户卡 */
  .pc-login-card { text-align: center; }
  .pc-login-title { font-size: 14px; font-weight: 600; color: #2D3561; margin-bottom: 12px; }
  .pc-btn { display: block; background: var(--primary-grad); color: #fff; text-decoration: none; border-radius: 999px; padding: 9px 0; font-size: 13.5px; font-weight: 600; margin-bottom: 8px; }
  .pc-btn.ghost { background: #fff; color: var(--primary); border: 1px solid rgba(102,126,234,0.4); }
  .pc-user-top { display: flex; align-items: center; gap: 10px; text-align: left; margin-bottom: 12px; }
  .pc-avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--primary-grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 16px; font-weight: 600; flex-shrink: 0; }
  .pc-avatar-img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid #fff; box-shadow: 0 2px 10px rgba(30,41,59,0.12); background: #EEF1F8; }
  .pc-user-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .pc-user-btns .pc-btn { margin-bottom: 0; text-align: center; }
  /* 中栏: 流动公告 */
  .pc-annbar { background: #fff; border: 1px solid #EEF0F8; border-radius: 12px; padding: 9px 14px; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; overflow: hidden; box-shadow: 0 4px 18px rgba(30,41,59,0.04); }
  .pc-ann-ic { flex-shrink: 0; width: 18px; height: 18px; color: var(--primary); display: flex; }
  .pc-ann-ic svg { width: 100%; height: 100%; }
  .pc-ann-track { flex: 1; display: flex; overflow: hidden; white-space: nowrap; }
  .pc-ann-item { padding-right: 42px; color: #4A5168; font-size: 13px; flex-shrink: 0; }
  @keyframes pcAnnScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  @keyframes pcLiveScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
  .pc-livebar { background: #fff; border: 1px solid #EEF0F8; border-radius: 12px; padding: 10px 14px; display: flex; align-items: center; gap: 10px; margin-bottom: 14px; overflow: hidden; box-shadow: 0 4px 18px rgba(30,41,59,0.04); }
  .pc-livebar .live-dot { flex-shrink: 0; }
  .pc-livebar .live-track { flex: 1; display: flex; overflow: hidden; }
  .pc-livebar .live-item { flex-shrink: 0; }
  /* 中栏: 轮播大图 */
  .pc-banner { border-radius: 16px; overflow: hidden; box-shadow: 0 6px 24px rgba(30,41,59,0.08); margin-bottom: 18px; position: relative; }
  .pc-banner .banner-track { border-radius: 16px; }
  .pc-banner .banner-item { border-radius: 16px; }
  .pc-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
  .pc-banner .placeholder { height: 100%; display: flex; align-items: center; justify-content: center; background: var(--primary-grad); color: #fff; font-size: 22px; font-weight: 700; border-radius: 16px; }
  .pc-banner .banner-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); z-index: 5; }
  /* 中栏: 区块卡片 */
  .pc-goods { background: #fff; border: 1px solid #EEF0F8; border-radius: 16px; padding: 16px; box-shadow: 0 4px 18px rgba(30,41,59,0.04); margin-bottom: 18px; }
  .pc-goods-title { font-size: 15px; font-weight: 700; color: #2D3561; margin-bottom: 14px; display: flex; align-items: center; gap: 8px; }
  .pc-goods-title::before { content: ''; width: 4px; height: 14px; border-radius: 2px; background: var(--primary); }
  .pc-goods-title .countdown { margin-left: auto; display: flex; align-items: center; gap: 4px; font-size: 12px; color: #FF5B5B; font-weight: 500; }
  .pc-goods-title .time-box { background: #FFF0F0; color: #FF5B5B; font-weight: 700; padding: 2px 5px; border-radius: 6px; font-size: 12px; }
  /* 秒杀卡 */
  .pc-seckill-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .pc-seckill-card { position: relative; display: block; text-decoration: none; background: #fff; border: 1px solid #F3E4E4; border-radius: 16px; overflow: hidden; }
  .pc-seckill-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; }
  .pc-sek-nm { font-size: 12.5px; color: #334155; padding: 8px 8px 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pc-sek-pr { padding: 4px 8px 10px; display: flex; align-items: baseline; gap: 5px; }
  .pc-sek-pr .current { font-size: 15px; font-weight: 700; color: #FF5B5B; }
  .pc-sek-pr .original { font-size: 11px; color: #9AA3B5; text-decoration: line-through; }
  .pc-sek-tag { position: absolute; top: 6px; left: 6px; background: rgba(0,0,0,0.55); color: #fff; font-size: 10px; font-weight: 600; padding: 2px 7px; border-radius: 8px; }
  /* 商品网格(4列正方形+购买) */
  .pc-goods-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
  .pc-goods-grid .goods-card { display: flex; flex-direction: column; border: 1px solid #EEF0F8; border-radius: 16px; }
  .pc-goods-grid .goods-img { flex: none; aspect-ratio: 1; }
  .pc-goods-grid .goods-info { padding: 8px 10px; }
  .pc-goods-grid .goods-name { font-size: 12.5px; -webkit-line-clamp: 1; }
  .pc-goods-grid .goods-bottom { margin-top: 6px; }
  .pc-goods-grid .goods-price { font-size: 15px; }
  .pc-goods-grid .goods-buy { font-size: 11px; padding: 4px 11px; }
  .pc-goods-grid .goods-extra { margin-top: 5px; }
  /* 右栏: 快捷导航 / 公告区 */
  .pc-nav-links { display: flex; flex-direction: column; gap: 4px; }
  .pc-nav-links a { display: flex; align-items: center; gap: 9px; padding: 9px 11px; border-radius: 10px; font-size: 13px; color: #334155; text-decoration: none; font-weight: 500; }
  .pc-nav-links a:hover { background: #F4F6FD; color: var(--primary); }
  .pc-nav-links a svg { width: 16px; height: 16px; stroke: var(--primary); stroke-width: 1.8; fill: none; flex-shrink: 0; }
  .pc-nav-links .pc-todo { padding: 9px 11px; font-size: 12px; color: #9AA3B5; }
  .pc-ann-list { list-style: none; margin: 0; padding: 0; }
  .pc-ann-list li { padding: 8px 0; border-bottom: 1px dashed #EEF0F8; font-size: 12.5px; color: #475569; line-height: 1.5; }
  .pc-ann-list li:last-child { border-bottom: none; }
  .pc-col-right .pc-side-card { margin-bottom: 16px; }
  /* 左栏: 商品展示框 */
  .pc-show-item { display: flex; align-items: center; gap: 10px; padding: 8px 0; border-bottom: 1px dashed #EEF0F8; text-decoration: none; }
  .pc-show-item:last-child { border-bottom: none; }
  .pc-show-item img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; flex-shrink: 0; background: #F5F6FA; }
  .pc-show-info { min-width: 0; flex: 1; }
  .pc-show-nm { font-size: 12px; color: #334155; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .pc-show-pr { font-size: 14px; font-weight: 700; color: var(--price); margin-top: 3px; }
  .pc-show-pr::before { content: '¥'; font-size: 11px; }
  /* 中栏: 分类区横排 */
  .pc-cat-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
  /* 待添加占位 */
  .pc-todo-block .pc-todo { padding: 26px 0; text-align: center; font-size: 13px; color: #9AA3B5; background: #FBFBFD; border-radius: 12px; }
  .pc-col-right .pc-side-card { margin-bottom: 16px; }
  /* 底部承诺卡保持在页面容器宽度 */
  .pc-feature { padding: 6px 20px 34px; }
}

/* ========== 电脑端: 一行顶栏下拉/用户卡/右栏(按手绘草稿) ========== */
.pc-cat-btn.ghost { background: #fff; color: var(--primary); box-shadow: inset 0 0 0 1px rgba(102,126,234,.25); }
.pc-cat-btn.ghost:hover { background: var(--primary); color: #fff; }
.pc-top-user .pc-user-name { font-weight: 600; color: #2D3561; }
.pc-top-user .pc-reg-btn { background: var(--primary-grad); color: #fff; border-radius: 10px; padding: 6px 16px; }
.pc-side-card { background: #fff; border-radius: 16px; padding: 16px; box-shadow: 0 4px 18px rgba(102,126,234,.08); }
.pc-side-title { font-size: 14px; font-weight: 700; color: #2D3561; margin-bottom: 8px; }
.pc-nav-links a { display: flex; align-items: center; gap: 8px; padding: 9px 10px; border-radius: 10px; color: #5A648C; font-size: 13.5px; text-decoration: none; transition: all .2s; }
.pc-nav-links a:hover { background: linear-gradient(135deg, rgba(102,126,234,.1), rgba(118,75,162,.08)); color: var(--primary); }
.pc-nav-links a svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; }
.pc-user-card { margin-top: 16px; }
.pc-user-top { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.pc-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--primary-grad); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700; flex: none; }
.pc-user-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pc-btn { text-align: center; padding: 9px 0; border-radius: 999px; background: var(--primary-grad); color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; transition: opacity .2s; }
.pc-btn:hover { opacity: .88; }
.pc-btn.ghost { background: #F3F5FB; color: #5A648C; }
.pc-btn.ghost:hover { background: #E8EBF7; opacity: 1; }
.pc-login-title { font-size: 15px; font-weight: 600; color: #2D3561; margin-bottom: 12px; text-align: center; }
.pc-login-title + .pc-btn { margin-bottom: 8px; }
.pc-seckill-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(150px,1fr)); gap: 12px; padding: 14px 0 4px; }
.pc-seckill-card { position: relative; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 10px; text-align: center; text-decoration: none; overflow: hidden; transition: all .2s; }
.pc-seckill-card:hover { box-shadow: 0 6px 20px rgba(102,126,234,.14); transform: translateY(-2px); }
.pc-seckill-card img { width: 100%; aspect-ratio: 1/1; object-fit: cover; border-radius: 10px; }
.pc-sek-nm { font-size: 13px; color: #2D3561; margin-top: 8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-sek-pr { margin-top: 4px; }
.pc-sek-pr .current { color: #ff4d4f; font-weight: 700; font-size: 15px; }
.pc-sek-pr .original { color: var(--text2); text-decoration: line-through; font-size: 12px; margin-left: 6px; }
.pc-sek-tag { position: absolute; top: 8px; left: 8px; background: linear-gradient(135deg,#ff6b6b,#ff4d4f); color: #fff; font-size: 11px; padding: 3px 8px; border-radius: 8px; }
.pc-cat-row { display: grid; grid-template-columns: repeat(auto-fill,minmax(96px,1fr)); gap: 12px; padding: 14px 0 4px; }
.pc-cat-c { background: #F7F9FE; border-radius: 14px; padding: 14px 6px; text-align: center; color: #2D3561; text-decoration: none; transition: all .2s; }
a:hover .pc-cat-c { background: linear-gradient(135deg, rgba(102,126,234,.12), rgba(118,75,162,.1)); transform: translateY(-2px); }
.pc-cat-c img { width: 34px; height: 34px; object-fit: cover; border-radius: 50%; display: block; margin: 0 auto 6px; }
.pc-cat-c i { width: 34px; height: 34px; border-radius: 50%; background: var(--primary-grad); color: #fff; font-style: normal; display: flex; align-items: center; justify-content: center; font-size: 15px; margin: 0 auto 6px; }
.pc-cat-c span { font-size: 12.5px; }
.pc-todo { color: var(--text2); font-size: 13px; padding: 20px 0; text-align: center; }
.pc-col-right { position: sticky; top: 84px; }
@media (max-width: 900px) { .pc-main, .pc-top, .pc-feature { display: none !important; } }

/* ========== 电脑端: 左栏时速 / 右栏登录+四√(按用户描述) ========== */
.pc-side-card { background: #fff; border-radius: 16px; padding: 16px; box-shadow: 0 4px 18px rgba(102,126,234,.08); }
.pc-side-title { font-size: 14px; font-weight: 700; color: #2D3561; margin-bottom: 10px; }
.pc-speed-list { display: flex; flex-direction: column; gap: 8px; }
.pc-speed-item { border-bottom: 1px dashed #EEF0F8; padding-bottom: 8px; }
.pc-speed-item:last-child { border-bottom: none; padding-bottom: 0; }
.pc-speed-nm { font-size: 12px; color: #5A648C; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-speed-time { font-size: 12.5px; font-weight: 700; color: #2BA77C; margin-top: 3px; }
.pc-col-left .pc-side-card { padding: 14px; }
.pc-col-left, .pc-col-right { position: sticky; top: 84px; align-self: start; }
.pc-user-card .pc-btn { margin-bottom: 8px; }
.pc-user-card .pc-btn:last-of-type { margin-bottom: 12px; }
.pc-user-card .pc-promises { border-top: 1px dashed #EEF0F8; padding-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 6px; }
.pc-p { display: flex; align-items: center; gap: 6px; font-size: 12.5px; color: #5A648C; }
.pc-f-ic { width: 16px; height: 16px; flex: none; }
.pc-f-ic.ok { color: #2BA77C; }
.pc-f-ic.ok svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 2.4; }
@media (max-width: 900px) { .pc-main, .pc-top, .pc-feature { display: none !important; } }

/* ========== 电脑端顶部: 导航+搜索框(按用户描述) ========== */
.pc-nav { display: flex; align-items: center; gap: 4px; margin-left: 6px; }
.pc-nav a { padding: 8px 16px; border-radius: 10px; color: #2D3561; background: rgba(102,126,234,.10); font-size: 14px; font-weight: 600; text-decoration: none; transition: all .2s; }
.pc-nav a:hover { background: rgba(102,126,234,.2); color: #2D3561; }
.pc-nav a.active { background: var(--primary-grad); color: #fff; }
.pc-search { display: flex; align-items: stretch; flex: 1; max-width: 330px; margin-left: 8px; background: #fff; border-radius: 12px; overflow: hidden; }
.pc-search input { flex: 1; border: none; padding: 9px 14px; font-size: 13px; outline: none; min-width: 0; background: transparent; }
.pc-search button { border: none; background: var(--primary-grad); color: #fff; padding: 0 15px; cursor: pointer; display: flex; align-items: center; gap: 5px; font-size: 13px; flex: none; }
.pc-search button svg { width: 14px; height: 14px; }
.pc-top-user { margin-left: auto; display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
@media (max-width: 900px) { .pc-main, .pc-top, .pc-feature { display: none !important; } }

/* ===== 电脑端升级(参考站 v17) ===== */
/* 全宽下单飘屏条(导航下面) */
.pc-livebar-full { background:#fff; border:1px solid #EEF0F8; border-radius:14px; padding:10px 16px; display:flex; align-items:center; gap:10px; margin-bottom:14px; overflow:hidden; box-shadow:0 4px 18px rgba(30,41,59,.05); }
.pc-livebar-full .live-dot { flex-shrink:0; }
.pc-livebar-full .live-track { flex:1; display:flex; overflow:hidden; white-space:nowrap; }
.pc-livebar-full .live-item { padding-right:48px; color:#4A5168; font-size:13px; flex-shrink:0; }
/* 分类标签云 */
.pc-cat-cloud { display:flex; flex-wrap:wrap; gap:8px; }
.pc-cat-tag { display:inline-flex; align-items:center; gap:5px; padding:6px 12px; border-radius:999px; background:#F3F5FB; color:#4A5168; font-size:12.5px; text-decoration:none; transition:all .2s; border:1px solid transparent; }
.pc-cat-tag em { font-style:normal; font-size:11px; color:#8A93A6; }
.pc-cat-tag:hover { border-color:var(--primary); color:var(--primary); }
.pc-cat-tag.on { background:var(--primary-grad); color:#fff; }
.pc-cat-tag.on em { color:rgba(255,255,255,.85); }
/* 分类页(电脑端) */
.pc-catpage { max-width:1200px; margin:0 auto; padding:18px 16px 30px; }
.pc-cat-head { background:linear-gradient(135deg, rgba(102,126,234,.12), rgba(118,75,162,.10)); border:1px solid #EEF0F8; border-radius:16px; padding:20px 22px; margin-bottom:14px; }
.pc-cat-head-t { font-size:20px; font-weight:700; color:#2D3561; }
.pc-cat-head-s { font-size:13px; color:#8A93A6; margin-top:4px; }
.pc-cat-tags { margin-bottom:14px; }
.pc-cat-toolbar { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-bottom:14px; }
.pc-cat-search { display:flex; flex:1; min-width:220px; }
.pc-cat-search input { flex:1; border:1px solid #E4E9F2; border-radius:10px 0 0 10px; padding:9px 14px; font-size:13px; outline:none; background:#fff; }
.pc-cat-search button { border:0; background:var(--primary-grad); color:#fff; border-radius:0 10px 10px 0; padding:0 18px; font-size:13px; cursor:pointer; }
.pc-cat-count { font-size:12.5px; color:#8A93A6; }
.pc-cat-view { display:flex; gap:6px; }
.pc-cat-view span { padding:6px 12px; border-radius:8px; border:1px solid #E4E9F2; font-size:12px; color:#5A6478; cursor:pointer; background:#fff; }
.pc-cat-view span.on { background:var(--primary-grad); color:#fff; border-color:transparent; }
/* 列表视图 */
.pc-goods-list { display:flex; flex-direction:column; gap:10px; }
.pc-list-row { display:flex; align-items:center; gap:14px; background:#fff; border:1px solid #EEF0F8; border-radius:14px; padding:10px 14px; text-decoration:none; transition:all .2s; }
.pc-list-row:hover { border-color:var(--primary); box-shadow:0 6px 20px rgba(102,126,234,.10); }
.pc-list-img { width:56px; height:56px; border-radius:10px; object-fit:cover; background:#F3F5FB; flex-shrink:0; }
.pc-list-info { flex:1; min-width:0; }
.pc-list-name { font-size:14px; font-weight:600; color:#2D3561; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.pc-list-meta { font-size:12px; color:#8A93A6; margin-top:4px; }
.pc-list-right { display:flex; align-items:center; gap:12px; }
.pc-list-price { color:#FF5B5B; font-weight:700; font-size:16px; }
/* 秒杀页(电脑端) */
.pc-sk-banner { background:linear-gradient(135deg,#FF8A3D,#FF5B5B); border-radius:16px; padding:22px 26px; display:flex; align-items:center; justify-content:space-between; color:#fff; margin-bottom:16px; box-shadow:0 10px 30px rgba(255,91,91,.25); }
.pc-sk-title { font-size:22px; font-weight:800; }
.pc-sk-sub { font-size:13px; opacity:.92; margin-top:5px; }
.pc-sk-sold { text-align:right; font-size:12px; opacity:.92; }
.pc-sk-sold b { font-size:26px; font-weight:800; display:block; }
.pc-sk-empty { background:#fff; border:1px dashed #E4E9F2; border-radius:16px; text-align:center; padding:70px 20px; color:#8A93A6; }
.pc-sk-empty-t { font-size:17px; font-weight:600; color:#5A6478; margin-bottom:6px; }
/* 电脑端页脚 */
.pc-footer { background:#fff; border-top:1px solid #EEF0F8; margin-top:30px; }
.pc-footer-in { max-width:1200px; margin:0 auto; padding:30px 16px 24px; display:flex; gap:60px; flex-wrap:wrap; }
.pc-footer-col { min-width:140px; }
.pc-footer-brand { flex:1; min-width:220px; }
.pc-footer-name { font-size:18px; font-weight:700; color:#2D3561; }
.pc-footer-brand p { font-size:13px; color:#8A93A6; margin:8px 0 12px; line-height:1.7; }
.pc-footer-contact { display:flex; gap:14px; flex-wrap:wrap; font-size:12.5px; color:#5A6478; }
.pc-footer-t { font-size:14px; font-weight:600; color:#2D3561; margin-bottom:10px; }
.pc-footer-col a { display:block; font-size:13px; color:#5A6478; text-decoration:none; padding:4px 0; }
.pc-footer-col a:hover { color:var(--primary); }
.pc-footer-copy { text-align:center; font-size:12px; color:#B0B7C7; padding:14px 10px 20px; border-top:1px solid #F4F6FB; }

/* 手机/平板隐藏电脑端全宽飘屏条 */
@media (max-width: 900px) { .pc-livebar-full { display: none; } }
/* v30 手机端全自适应: 首页各区块显式满宽居中, 任何宽度屏幕(390~428+)都铺满不留白 */
@media (max-width: 900px) {
  .banner-section, .category-section, .seckill-section, .goods-section { width: 100%; margin: 0 auto; box-sizing: border-box; }
  .banner-section .banner-wrapper { width: 100%; }
  .banner-item { width: 100%; }
}

/* 下单信息输入框强化(看不清楚修复) */
.cf-item { border-radius: 12px; padding: 12px 14px; background: #F7F8FD; border: 1.5px solid #DDE2F0; }
.cf-item:focus-within { background: #fff; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(102,126,234,.12); }
.cf-item label { display:block; font-size: 12.5px; color: var(--text-2); margin-bottom: 6px; font-weight: 600; }
.cf-input.input { width: 100%; border: 1.5px solid #C9D2E8; background: #fff; border-radius: 10px; padding: 11px 13px; font-size: 14px; color: var(--text); outline: none; box-sizing: border-box; }
.cf-input.input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(102,126,234,.14); }
.cf-input.input::placeholder { color: #A5AEC4; }

/* ========== PC 淘宝风布局覆盖(黑色信息条/白底大搜索/深色导航/左分类栏+右轮播/5列网格/黑色页脚) ========== */
@media (min-width: 901px) {
  .pc-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }

  /* 顶部黑色信息条 */
  .pc-topbar { background: #222; color: #ccc; font-size: 13px; }
  .pc-topbar .pc-container { display: flex; justify-content: space-between; align-items: center; padding-top: 8px; padding-bottom: 8px; }
  .pc-topbar-r { display: flex; align-items: center; }
  .pc-topbar a { color: #bbb; text-decoration: none; margin-left: 16px; }
  .pc-topbar a:hover { color: #fff; }
  .pc-topbar-hello { color: #ffd591; margin-right: 2px; }

  /* 白底头部: logo + 大搜索框 + 功能区 */
  .pc-header { background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.05); }
  .pc-header .pc-container { display: flex; align-items: center; gap: 36px; padding-top: 18px; padding-bottom: 18px; }
  .pc-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
  .pc-logo img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; }
  .pc-logo-name { font-size: 26px; font-weight: 800; color: var(--primary); background: none; -webkit-background-clip: initial; background-clip: initial; -webkit-text-fill-color: var(--primary); }
  .pc-search { flex: 1; max-width: 420px; display: flex; align-items: center; background: #fff; border: 1px solid #ddd; border-radius: 999px; overflow: hidden; box-shadow: none; }
  .pc-search input { flex: 1; min-width: 0; border: none; padding: 10px 16px; font-size: 14px; outline: none; border-radius: 999px; }
  .pc-search button { background: var(--primary-grad); color: #fff; border: none; padding: 0 20px; font-size: 13.5px; cursor: pointer; display: flex; align-items: center; gap: 6px; border-radius: 999px; }
  .pc-search button svg { width: 16px; height: 16px; }
  .pc-header-acts { margin-left: auto; display: flex; align-items: center; gap: 18px; }
  .pc-act-item { text-align: center; }
  .pc-act-num { font-size: 15px; font-weight: 700; color: var(--primary); }
  .pc-act-lab { font-size: 11px; color: #999; margin-top: 2px; }
  .pc-act-link { font-size: 14px; color: #555; text-decoration: none; }
  .pc-act-link:hover { color: var(--primary); }
  .pc-act-link.strong { font-size: 15px; font-weight: 600; color: #333; }
  .pc-act-sep { color: #ddd; }

  /* 深色主导航 */
  .pc-navbar { background: #343a40; }
  .pc-navbar .pc-container { display: flex; padding: 6px 14px; }
  .pc-navbar ul { list-style: none; display: flex; margin: 0; padding: 0; }
  .pc-navbar li a { display: block; padding: 9px 20px; margin: 0 2px; color: #fff; font-size: 15px; text-decoration: none; border-radius: 999px; }
  .pc-navbar li a:hover, .pc-navbar li a.active { background: var(--primary); color: #fff; border-radius: 999px; }

  /* 主体两栏: 左分类栏 + 右内容 */
  .pc-main { display: flex; gap: 16px; max-width: 1200px; margin: 20px auto 0; padding: 0 20px; align-items: flex-start; }
  .pc-cat-side { width: 210px; flex-shrink: 0; background: #fff; border-radius: 8px; overflow: hidden; box-shadow: 0 2px 10px rgba(0,0,0,0.05); }
  .pc-cat-side h3 { margin: 0; padding: 13px 16px; background: var(--primary); color: #fff; font-size: 16px; }
  .pc-cat-side ul { list-style: none; margin: 0; padding: 0; }
  .pc-cat-side li { border-bottom: 1px solid #f5f5f5; }
  .pc-cat-side li:last-child { border-bottom: none; }
  .pc-cat-side li a { display: flex; justify-content: space-between; align-items: center; padding: 11px 16px; color: #444; font-size: 14px; text-decoration: none; transition: padding .15s; }
  .pc-cat-side li a:hover, .pc-cat-side li a.on { background: #f0f6ff; color: var(--primary); padding-left: 20px; }
  .pc-cat-side li a em { font-style: normal; font-size: 11px; color: #bbb; }
  .pc-main-right { flex: 1; min-width: 0; }

  /* 轮播/公告圆角统一 */
  .pc-banner { border-radius: 8px; }
  .pc-banner .banner-track, .pc-banner .banner-item, .pc-banner .placeholder { border-radius: 8px; }
  .pc-annbar { border-radius: 8px; }

  /* 热销商品区块 */
  .pc-goods { background: #fff; border-radius: 8px; padding: 18px 16px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); margin-bottom: 18px; border: none; }
  .pc-goods-title { font-size: 20px; font-weight: 700; color: #222; border-left: 5px solid var(--primary); padding-left: 12px; margin: 0 0 16px; }
  .pc-goods-title::before { content: none; }

  /* 5列商品网格(淘宝风卡片) */
  .pc-goods-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
  .pc-goods-grid .goods-card { display: flex; flex-direction: column; border: 1px solid #f0f0f0; border-radius: 8px; overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s; background: #fff; box-shadow: none; }
  .pc-goods-grid .goods-card:hover { transform: translateY(-6px); box-shadow: 0 8px 20px rgba(0,0,0,0.1); }
  .pc-goods-grid .goods-img { flex: none; aspect-ratio: 1/1; background: #f5f5f5; }
  .pc-goods-grid .goods-img img { width: 100%; height: 100%; object-fit: cover; }
  .pc-goods-grid .goods-info { padding: 10px 12px 12px; }
  .pc-goods-grid .goods-name { font-size: 13px; color: #333; line-height: 1.4; height: 36px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin: 0; }
  .pc-goods-grid .goods-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; }
  .pc-goods-grid .goods-price { font-size: 18px; font-weight: 700; color: var(--price); }
  .pc-goods-grid .goods-buy { background: #28a745; color: #fff; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 4px; }
  .pc-goods-grid .goods-extra { margin-top: 5px; display: flex; gap: 8px; font-size: 11px; color: #9aa3b5; }
}

/* 黑色页脚(淘宝风) */
@media (min-width: 901px) {
  .pc-footer { background: #222; color: #bbb; margin-top: 40px; border-top: none; }
  .pc-footer-brand p { color: #9aa3af; }
  .pc-footer-contact { color: #9aa3af; }
  .pc-footer-contact span { color: #9aa3af; }
  .pc-footer-name { color: #fff; }
  .pc-footer-t { color: #fff; }
  .pc-footer-col a { color: #a8adb6; }
  .pc-footer-col a:hover { color: #fff; }
  .pc-footer-copy { color: #7d838d; border-top: 1px solid rgba(255,255,255,0.08); }
}

/* ===== PC 全站统一容器: 所有页面同一个 1200px 宽, 左右各 20px 内边距, 左右对称不超出 ===== */
@media (min-width: 901px) {
  html, body { max-width: 100%; overflow-x: hidden; }
  .page, .pc-main, .page-detail .detail-wrap, .pc-catpage, .pc-footer-in, .pc-seckill-page, .pc-livebar-full, .pc-annbar { box-sizing: border-box; }
  .page { max-width: 1200px; margin: 0 auto; padding: 22px 20px 46px; }
  .page-order .page { max-width: 1200px; }
  .page.auth-page { max-width: 560px; }
  .pc-main { max-width: 1200px; margin: 20px auto 0; padding: 0 20px; }
  .page-detail .detail-wrap { max-width: 1200px; padding: 22px 20px 60px; }
  .pc-catpage { max-width: 1200px; margin: 0 auto; padding: 18px 20px 30px; }
  .pc-footer-in { max-width: 1200px; margin: 0 auto; padding: 30px 20px 24px; }
  .pc-seckill-page { max-width: 1200px; margin: 0 auto; padding: 18px 20px 40px; }
  .pc-livebar-full { max-width: 1160px; margin: 14px auto 0; }
  .live-bar { max-width: 1160px; }
  .pc-annbar.multi .pc-ann-track { white-space: normal; flex-wrap: wrap; }
  .pc-annbar.multi .pc-ann-item { padding-right: 24px; line-height: 1.7; white-space: normal; }
}


/* ===== 电脑端极简头部: 一行 logo + 导航 + 搜索 + 账号 ===== */
.pc-hd { position: sticky; top: 0; z-index: 70; background: rgba(255,255,255,.94); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid #EDF0F6; }
.pc-hd-in { max-width: 1200px; margin: 0 auto; padding: 0 20px; height: 66px; display: flex; align-items: center; gap: 22px; box-sizing: border-box; }
.pc-hd-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.pc-hd-logo img { height: 34px; max-width: 130px; object-fit: contain; display: block; }
.pc-hd-logo b { font-size: 20px; font-weight: 700; color: #1B2333; letter-spacing: .3px; white-space: nowrap; }
.pc-hd-menu { display: flex; align-items: center; gap: 2px; flex-shrink: 0; }
.pc-hd-menu a { display: block; height: 36px; line-height: 36px; padding: 0 14px; border-radius: 9px; color: #3C4658; font-size: 14.5px; text-decoration: none; transition: background .18s, color .18s; }
.pc-hd-menu a:hover { background: #F3F5FA; color: var(--primary); }
.pc-hd-menu a.on { background: rgba(102,126,234,.10); color: var(--primary); font-weight: 600; }
.pc-hd-search { margin-left: auto; display: flex; align-items: center; gap: 6px; height: 40px; width: 268px; padding: 0 4px 0 16px; background: #F4F6FA; border: 1px solid transparent; border-radius: 999px; box-sizing: border-box; transition: border-color .18s, background .18s; }
.pc-hd-search:focus-within { background: #fff; border-color: var(--primary); }
.pc-hd-search input { flex: 1; min-width: 0; border: 0; outline: none; background: transparent; font-size: 13.5px; color: #27303F; }
.pc-hd-search input::placeholder { color: #98A1B3; }
.pc-hd-search button { flex-shrink: 0; width: 32px; height: 32px; border: 0; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer; }
.pc-hd-search button svg { width: 16px; height: 16px; }
.pc-hd-user { display: flex; align-items: center; gap: 10px; flex-shrink: 0; font-size: 13.5px; }
.pc-hd-user a { text-decoration: none; }
.pc-hd-me { display: flex; align-items: center; gap: 7px; color: #27303F; max-width: 150px; }
.pc-hd-me img, .pc-hd-ava { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.pc-hd-ava { display: flex; align-items: center; justify-content: center; background: var(--primary); color: #fff; font-size: 13px; font-weight: 700; }
.pc-hd-me em { font-style: normal; font-size: 13px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-hd-out { color: #98A1B3; font-size: 12.5px; }
.pc-hd-out:hover { color: #E5484D; }
.pc-hd-login { color: #3C4658; padding: 7px 10px; }
.pc-hd-reg { color: #fff; background: var(--primary); padding: 8px 16px; border-radius: 999px; }
.pc-hd-reg:hover { opacity: .9; }

/* ===== 电脑端首页: 全宽简洁版 ===== */
.pc-home { background: #F4F6FB; padding-bottom: 44px; }
.pc-hero { background: linear-gradient(180deg, #F8FAFF 0%, #F4F6FB 100%); padding: 22px 0 10px; }
.pc-hero-in { max-width: 1200px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; display: grid; grid-template-columns: 260px minmax(0, 1fr) 300px; gap: 18px; align-items: stretch; }
.pc-hero-side { background: #fff; border: 1px solid #EDF0F6; border-radius: 18px; box-sizing: border-box; box-shadow: 0 10px 30px rgba(28,40,80,.05); display: flex; flex-direction: column; min-width: 0; }
.pc-hero-h { padding: 16px 18px 12px; border-bottom: 1px solid #F1F3F9; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.pc-hero-h b { font-size: 15px; color: #1B2333; }
.pc-hero-h span { font-size: 11px; color: #98A1B3; }
.pc-time-list { flex: 1; min-height: 0; padding: 6px 8px; overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 4%, #000 96%, transparent 100%); mask-image: linear-gradient(180deg, transparent 0, #000 4%, #000 96%, transparent 100%); }
.pc-time-track { display: flex; flex-direction: column; will-change: transform; }
.pc-time-row { display: flex; align-items: center; justify-content: space-between; gap: 9px; padding: 7px 9px; border-radius: 9px; text-decoration: none; color: #3C4658; flex: 0 0 auto; }
.pc-time-row:hover { background: #F6F8FC; }
.pc-time-thumb { width: 34px; height: 34px; border-radius: 9px; overflow: hidden; flex-shrink: 0; background: #F1F4FA; display: flex; align-items: center; justify-content: center; }
.pc-time-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-time-name { flex: 1; min-width: 0; font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-time-row em { font-style: normal; flex-shrink: 0; font-size: 11.5px; font-weight: 600; color: var(--primary); background: rgba(102,126,234,.10); padding: 3px 7px; border-radius: 999px; white-space: nowrap; }
.pc-time-empty { padding: 18px 12px; font-size: 12.5px; color: #98A1B3; line-height: 1.8; }
.pc-time-foot { padding: 10px 18px 14px; border-top: 1px solid #F1F3F9; font-size: 11px; color: #A6AEBF; }
.pc-hero-banner { position: relative; height: 380px; border-radius: 18px; overflow: hidden; background: #E9EDF6; box-shadow: 0 12px 34px rgba(28,40,80,.08); }
.pc-hero-banner .banner-wrapper { height: 100%; border-radius: 18px; aspect-ratio: auto; }
.pc-hero-banner .banner-track, .pc-hero-banner .banner-item, .pc-hero-banner img { height: 100%; }
.pc-hero-banner .banner-item img { width: 100%; object-fit: contain; display: block; }
.pc-hero-banner .placeholder { height: 100%; display: flex; align-items: center; justify-content: center; background: var(--primary-grad); color: #fff; font-size: 22px; font-weight: 700; }
.pc-hero-empty { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; background: var(--primary-grad); color: #fff; }
.pc-hero-empty b { font-size: 26px; letter-spacing: 1px; }
.pc-hero-empty span { font-size: 13px; opacity: .85; }
.pc-me-card { padding: 18px; }
.pc-me-top { display: flex; align-items: center; gap: 12px; }
.pc-me-ava { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; flex-shrink: 0; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 19px; font-weight: 700; }
.pc-me-id b { display: block; font-size: 15.5px; color: #1B2333; max-width: 180px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-me-id span { display: inline-block; margin-top: 5px; font-size: 11px; color: var(--primary); background: rgba(102,126,234,.10); padding: 2px 8px; border-radius: 999px; }
.pc-me-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.pc-me-stats div { background: #F6F8FC; border-radius: 12px; padding: 12px 10px; text-align: center; }
.pc-me-stats em { display: block; font-style: normal; font-size: 18px; font-weight: 700; color: #1B2333; }
.pc-me-stats span { display: block; margin-top: 3px; font-size: 11px; color: #8A93A6; }
.pc-me-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.pc-me-btn { text-align: center; padding: 9px 0; border-radius: 10px; font-size: 13px; text-decoration: none; color: #3C4658; background: #F3F5FA; }
.pc-me-btn.main { background: var(--primary); color: #fff; }
.pc-me-btn:hover { opacity: .9; }
.pc-me-links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.pc-me-links a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 9px 4px 8px; border-radius: 12px; background: #F6F8FC; border: 1px solid #EEF1F8; color: #5A6478; text-decoration: none; font-size: 11.5px; transition: background .18s, border-color .18s, color .18s; }
.pc-me-links a:hover { background: #EEF3FF; border-color: rgba(102,126,234,.35); color: var(--primary); }
.pc-me-bub { width: 28px; height: 28px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 2px 6px rgba(28,40,80,.08); color: var(--primary); }
.pc-me-bub svg { width: 15px; height: 15px; }
.pc-me-links em { font-style: normal; line-height: 1; }
.pc-me-tip { margin-top: auto; padding-top: 14px; border-top: 1px solid #F1F3F9; font-size: 12px; color: #8A93A6; }
.pc-me-tip b { color: var(--primary); }
.pc-me-guest { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; height: 100%; gap: 8px; }
.pc-me-guest-ic { width: 64px; height: 64px; border-radius: 50%; background: #F2F5FF; color: var(--primary); display: flex; align-items: center; justify-content: center; }
.pc-me-guest-ic svg { width: 30px; height: 30px; }
.pc-me-guest b { font-size: 15px; color: #1B2333; }
.pc-me-guest > span { font-size: 12px; color: #98A1B3; }
.pc-me-guest .pc-me-btns { width: 100%; margin-top: 10px; }

.pc-home-ann { margin-top: 16px; }
.pc-home-ann .pc-annbar { max-width: 1160px; margin: 0 auto; background: #fff; border: 1px solid #EDF0F6; border-radius: 12px; box-shadow: none; box-sizing: border-box; }
.pc-home-sec { max-width: 1200px; margin: 0 auto; padding: 30px 20px 0; box-sizing: border-box; }
.pc-sec-h { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 14px; }
.pc-sec-h h2 { margin: 0; font-size: 20px; font-weight: 700; color: #1B2333; letter-spacing: .3px; }
.pc-sec-h span a, .pc-sec-h a { color: #8A93A6; font-size: 12.5px; text-decoration: none; }
.pc-sec-h a:hover { color: var(--primary); }
.pc-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 12px; }
.pc-cat-card { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: #fff; border: 1px solid #EDF0F6; border-radius: 12px; padding: 14px 16px; text-decoration: none; transition: border-color .18s, transform .18s, box-shadow .18s; }
.pc-cat-card:hover { border-color: rgba(102,126,234,.4); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(28,40,80,.06); }
.pc-cat-card b { font-size: 13.5px; font-weight: 600; color: #27303F; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-cat-card span { font-size: 11.5px; color: #98A1B3; flex-shrink: 0; }
.pc-cat-card.on { background: rgba(102,126,234,.06); border-color: rgba(102,126,234,.35); }
.pc-cat-card.on b { color: var(--primary); }
.pc-cat-empty { grid-column: 1 / -1; padding: 20px; text-align: center; color: #98A1B3; font-size: 13px; background: #fff; border-radius: 12px; border: 1px solid #EDF0F6; }
.pc-goods { background: #fff; border: 1px solid #EDF0F6; border-radius: 18px; padding: 20px; box-shadow: 0 10px 30px rgba(28,40,80,.04); }
.pc-goods .pc-goods-grid { gap: 16px; }
.pc-buy-flow { margin-top: 18px; padding: 13px 15px; background: #FAFBFC; border: 1px solid #F0F1F4; border-radius: 10px; display: flex; align-items: center; flex-wrap: wrap; gap: 7px 9px; font-size: 12.5px; color: #777; box-sizing: border-box; }
.pc-buy-flow b { font-size: 12.5px; color: #333; font-weight: 700; }
.pc-buy-flow em { font-style: normal; color: #444; }
.pc-buy-flow i { font-style: normal; color: #C3C6CC; }
.pc-buy-assure { margin-top: 14px; display: flex; align-items: center; flex-wrap: wrap; gap: 9px 20px; }
.pc-buy-assure span { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: #666; }
.pc-buy-assure svg { width: 15px; height: 15px; color: #0E9F6E; flex-shrink: 0; }
@media (max-width: 1180px) and (min-width: 901px) {
  .pc-hd-in { gap: 12px; }
  .pc-hd-menu a { padding: 0 10px; font-size: 13.5px; }
  .pc-hd-search { width: 210px; }
  .pc-hero-in { grid-template-columns: 220px minmax(0, 1fr) 260px; gap: 14px; }
  .pc-hero-banner { height: 340px; }
  .pc-me-card { padding: 14px; }
}

@media (max-width: 1100px) and (min-width: 901px) {
  .pc-hd-me em { display: none; }
  .pc-hd-search { width: 180px; }
  .pc-hd-menu a { padding: 0 9px; }
  .pc-hd-logo b { font-size: 18px; }
}

/* 分类与商品各排成一排: 不换行, 超出可横向滚动 */
.pc-cat-grid { display: flex; flex-wrap: nowrap; gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.pc-cat-card { flex: 0 0 180px; }
.pc-goods-grid { display: flex !important; flex-wrap: nowrap; gap: 16px !important; overflow-x: auto; padding-bottom: 8px; }
.pc-goods-grid .goods-card { flex: 0 0 calc((100% - 64px) / 5); min-width: 0; }
.pc-cat-grid::-webkit-scrollbar, .pc-goods-grid::-webkit-scrollbar { height: 6px; }
.pc-cat-grid::-webkit-scrollbar-thumb, .pc-goods-grid::-webkit-scrollbar-thumb { background: #DDE3EF; border-radius: 3px; }
.pc-cat-grid::-webkit-scrollbar-track, .pc-goods-grid::-webkit-scrollbar-track { background: transparent; }

/* 分类改成方块卡片, 不再用长条 */
.pc-cat-card { flex: 0 0 132px; height: 100px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; padding: 14px 16px; }
.pc-cat-card b { white-space: normal; line-height: 1.45; }

/* 分类卡片带图片/图标 */
.pc-cat-card { flex: 0 0 140px; height: 132px; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 14px 10px; }
.pc-cat-pic { width: 52px; height: 52px; border-radius: 14px; background: #F6F8FC; display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.pc-cat-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-cat-pic svg { width: 24px; height: 24px; color: var(--primary); }
.pc-cat-pic em { font-style: normal; font-size: 26px; line-height: 1; }
.pc-cat-card b { font-size: 13.5px; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* 分类卡片: 图片铺满整张卡, 分类名压在底部 */
.pc-cat-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; overflow: visible; padding-bottom: 0; }
.pc-cat-grid-page { margin-top: 2px; }
.pc-cat-card { position: relative; flex: none; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0; height: 132px; padding: 0; overflow: hidden; border: 1px solid #E7ECF6; border-radius: 14px; background: #fff; text-align: left; box-sizing: border-box; transition: border-color .18s, transform .18s, box-shadow .18s; }
.pc-cat-card:hover { border-color: rgba(47,107,255,.45); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(28,40,80,.12); }
.pc-cat-card.on { border-color: transparent; box-shadow: inset 0 0 0 2px #2F6BFF, 0 10px 22px rgba(47,107,255,.16); }
.pc-cat-pic { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: 0; background: linear-gradient(135deg,#3A6DF0,#7A9BFF); display: flex; align-items: center; justify-content: center; overflow: hidden; flex-shrink: 0; }
.pc-cat-pic img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.pc-cat-pic svg { width: 34px; height: 34px; color: #fff; opacity: .92; }
.pc-cat-pic em { font-style: normal; font-size: 34px; line-height: 1; color: #fff; }
.pc-cat-pic.pc-cat-all { background: linear-gradient(135deg,#2F6BFF,#6C8CFF); }
.pc-cat-card b { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; margin: 0; padding: 22px 10px 9px; color: #fff; font-size: 13.5px; font-weight: 600; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; text-align: center; background: linear-gradient(180deg, rgba(8,18,38,0), rgba(8,18,38,.72)); }
.pc-cat-card.on b { color: #fff; text-shadow: 0 1px 2px rgba(0,0,0,.35); }

/* logo 放大 + 轮播加宽加高, 不那么方 */
.pc-hd-logo img { height: 40px; max-width: 170px; }
.pc-hero-in { grid-template-columns: 220px minmax(0, 1fr) 240px; }
.pc-hero-banner { height: 400px; }
@media (max-width: 1180px) and (min-width: 901px) {
  .pc-hero-in { grid-template-columns: 200px minmax(0, 1fr) 230px; }
  .pc-hero-banner { height: 360px; }
  .pc-hero-h { padding: 14px 14px 10px; }
  .pc-hero-h span { display: none; }
}

/* 耗时卡标题保持一行 */
.pc-hero-h span { display: none; }
/* ===== 电脑端秒杀专区 ===== */
.pc-sk-page { background: #F4F6FB; padding: 22px 0 46px; }
.pc-sk-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.pc-sk-head { background: #fff; border: 1px solid #EDF0F6; border-radius: 18px; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; box-shadow: 0 10px 30px rgba(28,40,80,.05); box-sizing: border-box; }
.pc-sk-head-l { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; min-width: 0; }
.pc-sk-head-l h1 { margin: 0; font-size: 24px; font-weight: 700; color: #1B2333; letter-spacing: .5px; }
.pc-sk-head-l span { font-size: 12px; color: #E5484D; background: #FFF1F0; padding: 4px 10px; border-radius: 999px; }
.pc-sk-head-l i { font-style: normal; font-size: 12px; color: #98A1B3; }
.pc-sk-time { display: flex; align-items: center; gap: 6px; flex-shrink: 0; }
.pc-sk-time-lab { font-size: 12px; color: #8A93A6; margin-right: 4px; }
.pc-sk-time b { display: inline-flex; width: 32px; height: 32px; align-items: center; justify-content: center; background: #E5484D; color: #fff; border-radius: 7px; font-size: 14px; font-weight: 700; letter-spacing: .5px; }
.pc-sk-time u { text-decoration: none; color: #E5484D; font-weight: 700; }
.pc-sk-stage { margin-top: 16px; background: #fff; border: 1px solid #EDF0F6; border-radius: 18px; padding: 20px; box-shadow: 0 10px 30px rgba(28,40,80,.04); box-sizing: border-box; }
.pc-sk-view { overflow: hidden; }
.pc-sk-track { display: flex; gap: 16px; transition: transform .5s ease; will-change: transform; }
.pc-sk-card { flex: 0 0 calc((100% - 64px) / 5); min-width: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid #F0F0F0; border-radius: 12px; overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.pc-sk-card:hover { transform: translateY(-6px); box-shadow: 0 8px 20px rgba(0,0,0,.1); }
.pc-sk-pic { position: relative; width: 100%; aspect-ratio: 1 / 1; background: #F5F5F5; overflow: hidden; }
.pc-sk-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-sk-tag { position: absolute; left: 10px; top: 10px; background: #E5484D; color: #fff; font-size: 11px; line-height: 1; padding: 5px 8px; border-radius: 6px; }
.pc-sk-info { padding: 10px 12px 12px; }
.pc-sk-name { font-size: 13px; line-height: 1.4; color: #333; height: 36px; margin: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pc-sk-prices { display: flex; align-items: center; gap: 6px; margin-top: 8px; }
.pc-sk-prices em { font-style: normal; font-size: 18px; font-weight: 700; color: #E5484D; }
.pc-sk-prices { line-height: 1.2; }
.pc-sk-prices em, .pc-sk-prices del { line-height: 1.2; }
.pc-sk-prices del { font-size: 11px; color: #A6AEBF; }
.pc-sk-buy { margin-left: auto; background: #E5484D; color: #fff; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 4px; white-space: nowrap; }
.pc-sk-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 5px; font-size: 11px; color: #9AA3B5; }
.pc-sk-meta span { color: #E5484D; }
.pc-sk-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; padding-top: 14px; border-top: 1px solid #F1F3F9; font-size: 12px; color: #8A93A6; }
.pc-sk-foot i { font-style: normal; color: #A6AEBF; }
.pc-sk-empty { margin-top: 16px; background: #fff; border: 1px solid #EDF0F6; border-radius: 18px; padding: 70px 20px; text-align: center; }
.pc-sk-empty-t { font-size: 18px; font-weight: 700; color: #1B2333; }
.pc-sk-empty p { margin: 10px 0 0; font-size: 13px; color: #98A1B3; }

/* 热抢榜 + 规则 */
.pc-sk-extra { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.pc-sk-hot, .pc-sk-rule { background: #fff; border: 1px solid #EDF0F6; border-radius: 18px; padding: 20px 24px; box-shadow: 0 10px 30px rgba(28,40,80,.04); box-sizing: border-box; }
.pc-sk-block-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 10px; }
.pc-sk-block-h h2 { margin: 0; font-size: 16px; font-weight: 700; color: #1B2333; }
.pc-sk-block-h span { font-size: 12px; color: #A6AEBF; }
.pc-sk-hot-row { display: flex; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid #F4F6FA; text-decoration: none; }
.pc-sk-hot-row:last-child { border-bottom: 0; padding-bottom: 0; }
.pc-sk-rank { width: 22px; height: 22px; border-radius: 7px; display: inline-flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: #fff; background: #C9D1DE; flex-shrink: 0; }
.pc-sk-rank.r1 { background: #E5484D; }
.pc-sk-rank.r2 { background: #FF8A3D; }
.pc-sk-rank.r3 { background: #F3B23C; }
.pc-sk-rank.r4, .pc-sk-rank.r5 { background: #E9EDF6; color: #8A93A6; }
.pc-sk-hot-row img { width: 46px; height: 46px; border-radius: 8px; object-fit: cover; background: #F5F5F5; flex-shrink: 0; }
.pc-sk-hot-main { flex: 1; min-width: 0; }
.pc-sk-hot-main p { margin: 0; font-size: 13px; color: #27303F; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-sk-hot-main span { font-size: 11px; color: #A6AEBF; }
.pc-sk-hot-row em { font-style: normal; font-size: 14px; font-weight: 700; color: #E5484D; flex-shrink: 0; }
.pc-sk-rule-item { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid #F4F6FA; }
.pc-sk-rule-item:last-child { border-bottom: 0; padding-bottom: 0; }
.pc-sk-rule-item u { width: 20px; height: 20px; border-radius: 6px; background: #FFF1F0; color: #E5484D; font-size: 11px; font-weight: 700; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.pc-sk-rule-item p { margin: 0 0 3px; font-size: 13px; font-weight: 600; color: #27303F; }
.pc-sk-rule-item span { display: block; font-size: 12px; line-height: 1.6; color: #8A93A6; }
@media (max-width: 1180px) and (min-width: 901px) {
  .pc-sk-head { padding: 16px 18px; }
  .pc-sk-head-l h1 { font-size: 20px; }
  .pc-sk-time b { width: 28px; height: 28px; font-size: 13px; }
  .pc-sk-extra { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 12px; }
  .pc-sk-hot, .pc-sk-rule { padding: 16px 18px; }
  .pc-sk-hot-row img { width: 40px; height: 40px; }
  .pc-sk-card { border-radius: 16px; }
  .pc-sk-info { padding: 8px 10px; }
  .pc-sk-name { font-size: 12.5px; -webkit-line-clamp: 1; }
  .pc-sk-prices { margin-top: 6px; }
  .pc-sk-prices em { font-size: 15px; }
  .pc-sk-prices del { font-size: 10px; }
  .pc-sk-buy { font-size: 11px; padding: 4px 11px; }
  .pc-sk-meta { margin-top: 5px; }
}
/* ===== 电脑端积分兑换 ===== */
.pc-ex-page { background: #F4F6FB; padding: 22px 0 46px; }
.pc-ex-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.pc-ex-head { background: #fff; border: 1px solid #EDF0F6; border-radius: 18px; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; box-shadow: 0 10px 30px rgba(28,40,80,.05); box-sizing: border-box; }
.pc-ex-head h1 { margin: 0; font-size: 24px; font-weight: 700; color: #1B2333; letter-spacing: .5px; }
.pc-ex-head p { margin: 6px 0 0; font-size: 13px; color: #8A93A6; }
.pc-ex-head-r { font-size: 12px; color: #667EEA; background: #F0F3FF; padding: 6px 12px; border-radius: 999px; flex-shrink: 0; }
.pc-ex-top { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 16px; margin-top: 16px; }
.pc-ex-balance { position: relative; overflow: hidden; background: linear-gradient(135deg, #667EEA 0%, #4C5FD5 100%); color: #fff; border-radius: 18px; padding: 26px; box-sizing: border-box; min-height: 330px; display: flex; flex-direction: column; justify-content: center; box-shadow: 0 14px 34px rgba(76,95,213,.22); }
.pc-ex-balance::after { content: ''; position: absolute; right: -70px; top: -80px; width: 240px; height: 240px; border-radius: 50%; background: rgba(255,255,255,.10); }
.pc-ex-balance::before { content: ''; position: absolute; left: -60px; bottom: -100px; width: 220px; height: 220px; border-radius: 50%; background: rgba(255,255,255,.06); }
.pc-ex-bal-lab { font-size: 13px; opacity: .88; position: relative; z-index: 1; }
.pc-ex-bal-num { font-size: 46px; line-height: 1.15; font-weight: 800; letter-spacing: .5px; margin: 10px 0 8px; position: relative; z-index: 1; }
.pc-ex-bal-num small { font-size: 14px; font-weight: 400; opacity: .85; margin-left: 6px; }
.pc-ex-bal-rule { position: relative; z-index: 1; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.22); border-radius: 10px; padding: 9px 12px; font-size: 12px; line-height: 1.6; }
.pc-ex-bal-hint { position: relative; z-index: 1; margin-top: 10px; font-size: 11px; opacity: .72; }
.pc-ex-logs { background: #fff; border: 1px solid #EDF0F6; border-radius: 18px; padding: 18px 22px; box-shadow: 0 10px 30px rgba(28,40,80,.04); box-sizing: border-box; min-height: 330px; display: flex; flex-direction: column; }
.pc-ex-logs-h { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 8px; }
.pc-ex-logs-h h2 { margin: 0; font-size: 16px; font-weight: 700; color: #1B2333; }
.pc-ex-logs-h a { font-size: 12px; color: #667EEA; text-decoration: none; }
.pc-ex-logs-empty { flex: 1; display: flex; align-items: center; justify-content: center; text-align: center; font-size: 12.5px; color: #A6AEBF; padding: 20px; }
.pc-ex-log-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 8.5px 0; border-bottom: 1px solid #F4F6FA; }
.pc-ex-log-row:last-child { border-bottom: 0; padding-bottom: 0; }
.pc-ex-log-main { flex: 1; min-width: 0; }
.pc-ex-log-main p { margin: 0; font-size: 13px; color: #27303F; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-ex-log-main span { font-size: 11px; color: #A6AEBF; }
.pc-ex-log-right { display: flex; flex-direction: column; align-items: flex-end; gap: 1px; flex-shrink: 0; }
.pc-ex-log-right b { font-size: 14px; font-weight: 700; }
.pc-ex-log-right i { font-style: normal; font-size: 10px; color: #A6AEBF; }
.pc-ex-main { margin-top: 16px; background: #fff; border: 1px solid #EDF0F6; border-radius: 18px; padding: 20px; box-shadow: 0 10px 30px rgba(28,40,80,.04); box-sizing: border-box; }
.pc-ex-main-h { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 14px; }
.pc-ex-main-h h2 { margin: 0; font-size: 16px; font-weight: 700; color: #1B2333; }
.pc-ex-main-h span { font-size: 12px; color: #A6AEBF; }
.pc-ex-grid { display: flex; gap: 16px; overflow-x: auto; padding-bottom: 8px; }
.pc-ex-grid::-webkit-scrollbar { height: 6px; }
.pc-ex-grid::-webkit-scrollbar-thumb { background: #DDE3EF; border-radius: 3px; }
.pc-ex-grid::-webkit-scrollbar-track { background: transparent; }
.pc-ex-card { flex: 0 0 calc((100% - 64px) / 5); min-width: 0; display: flex; flex-direction: column; background: #fff; border: 1px solid #F0F0F0; border-radius: 12px; overflow: hidden; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.pc-ex-card:hover { transform: translateY(-6px); box-shadow: 0 8px 20px rgba(0,0,0,.1); }
.pc-ex-pic { position: relative; width: 100%; aspect-ratio: 1 / 1; background: #F5F5F5; overflow: hidden; }
.pc-ex-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-ex-tag { position: absolute; left: 10px; top: 10px; background: #667EEA; color: #fff; font-size: 11px; line-height: 1; padding: 5px 8px; border-radius: 6px; }
.pc-ex-info { padding: 10px 12px 12px; }
.pc-ex-name { font-size: 13px; line-height: 1.4; color: #333; height: 36px; margin: 0; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.pc-ex-line { display: flex; align-items: center; gap: 6px; margin-top: 8px; line-height: 1.2; }
.pc-ex-line em { font-style: normal; font-size: 18px; font-weight: 700; color: #667EEA; line-height: 1.2; }
.pc-ex-line em small { font-size: 11px; font-weight: 400; margin-left: 2px; }
.pc-ex-btn { margin-left: auto; background: linear-gradient(135deg, #667EEA, #4C5FD5); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 4px; white-space: nowrap; line-height: 1.2; }
.pc-ex-meta { display: flex; align-items: center; justify-content: space-between; margin-top: 5px; font-size: 11px; color: #9AA3B5; line-height: 1.2; }
.pc-ex-meta i { font-style: normal; }
.pc-ex-empty { padding: 70px 20px; text-align: center; font-size: 14px; color: #98A1B3; background: #F8FAFF; border-radius: 12px; }
@media (max-width: 1180px) and (min-width: 901px) {
  .pc-ex-top { grid-template-columns: 320px minmax(0, 1fr); }
  .pc-ex-balance { padding: 20px; min-height: 300px; }
  .pc-ex-bal-num { font-size: 36px; }
  .pc-ex-logs { min-height: 300px; padding: 16px 18px; }
  .pc-ex-card { border-radius: 16px; }
  .pc-ex-info { padding: 8px 10px; }
  .pc-ex-name { font-size: 12.5px; -webkit-line-clamp: 1; }
  .pc-ex-line { margin-top: 6px; }
  .pc-ex-line em { font-size: 15px; }
  .pc-ex-btn { font-size: 11px; padding: 4px 11px; }
  .pc-ex-meta { margin-top: 5px; }
}
/* ===== 电脑端订单查询 ===== */
.pc-ord-page { background: #F4F6FB; padding: 22px 0 46px; }
.pc-ord-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.pc-ord-head { background: #fff; border: 1px solid #EDF0F6; border-radius: 18px; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; box-shadow: 0 10px 30px rgba(28,40,80,.05); box-sizing: border-box; }
.pc-ord-head h1 { margin: 0; font-size: 24px; font-weight: 700; color: #1B2333; letter-spacing: .5px; }
.pc-ord-head p { margin: 6px 0 0; font-size: 13px; color: #8A93A6; }
.pc-ord-head-r { font-size: 12px; color: #667EEA; background: #F0F3FF; padding: 6px 12px; border-radius: 999px; flex-shrink: 0; }
.pc-ord-paid { margin-top: 14px; padding: 11px 16px; border-radius: 12px; background: #EEF3FF; border: 1px solid #DDE6FF; color: #4C5FD5; font-size: 13px; line-height: 1.6; }
.pc-ord-ann { margin-top: 14px; background: #fff; border: 1px solid #EDF0F6; border-radius: 12px; padding: 11px 16px; display: flex; align-items: center; gap: 10px; overflow: hidden; box-shadow: 0 4px 18px rgba(28,40,80,.04); box-sizing: border-box; }
.pc-ord-ann-ic { width: 26px; height: 26px; border-radius: 8px; background: #F0F3FF; color: #667EEA; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.pc-ord-ann-ic svg { width: 15px; height: 15px; }
.pc-ord-ann b { font-size: 12px; color: #667EEA; flex-shrink: 0; padding-right: 12px; border-right: 1px solid #E8ECF5; }
.pc-ord-ann-track { flex: 1; min-width: 0; overflow: hidden; }
.pc-ord-ann-move { display: inline-flex; align-items: center; white-space: nowrap; animation: pc-ord-marquee 30s linear infinite; }
.pc-ord-ann:hover .pc-ord-ann-move { animation-play-state: paused; }
.pc-ord-ann-move span { font-size: 12.5px; color: #5B6478; padding-right: 54px; line-height: 1.6; }
@keyframes pc-ord-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .pc-ord-ann-move { animation: none; } }
.pc-ord-search { margin-top: 14px; background: #fff; border: 1px solid #EDF0F6; border-radius: 14px; padding: 14px 18px; display: flex; align-items: center; gap: 12px; box-shadow: 0 4px 18px rgba(28,40,80,.04); box-sizing: border-box; }
.pc-ord-search-box { flex: 0 1 620px; min-width: 260px; display: flex; align-items: center; gap: 8px; height: 44px; border: 1px solid #E6EAF4; border-radius: 10px; padding: 0 6px 0 14px; background: #fff; box-sizing: border-box; }
.pc-ord-search-box:focus-within { border-color: #667EEA; box-shadow: 0 0 0 3px rgba(102,126,234,.12); }
.pc-ord-search-box svg { width: 16px; height: 16px; color: #9AA3B5; flex-shrink: 0; }
.pc-ord-search-box input { flex: 1; min-width: 0; border: 0; outline: 0; font-size: 13px; color: #27303F; background: transparent; height: 100%; }
.pc-ord-search-box input::placeholder { color: #A6AEBF; }
.pc-ord-search-box button { height: 34px; padding: 0 22px; border: 0; border-radius: 8px; background: linear-gradient(135deg, #667EEA, #4C5FD5); color: #fff; font-size: 13px; font-weight: 600; cursor: pointer; flex-shrink: 0; }
.pc-ord-reset { font-size: 12px; color: #667EEA; text-decoration: none; flex-shrink: 0; }
.pc-ord-tip { margin-left: auto; font-size: 11.5px; color: #A6AEBF; flex-shrink: 0; }
.pc-ord-tablecard { margin-top: 14px; background: #fff; border: 1px solid #EDF0F6; border-radius: 18px; overflow: hidden; box-shadow: 0 10px 30px rgba(28,40,80,.04); }
.pc-ord-toolbar { padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; gap: 14px; border-bottom: 1px solid #F0F3F8; }
.pc-ord-chips { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.pc-ord-chips a { font-size: 12.5px; color: #5B6478; background: #F5F7FB; border-radius: 999px; padding: 6px 13px; text-decoration: none; transition: background .2s, color .2s; }
.pc-ord-chips a:hover { background: #EBEFFF; color: #4C5FD5; }
.pc-ord-chips a.on { background: #667EEA; color: #fff; }
.pc-ord-count { font-size: 12px; color: #A6AEBF; flex-shrink: 0; }
.pc-ord-table { width: 100%; border-collapse: collapse; table-layout: fixed; }
.pc-ord-table th { background: #FAFBFE; border-bottom: 1px solid #F0F3F8; padding: 11px 16px; text-align: left; font-size: 12px; font-weight: 600; color: #8A93A6; white-space: nowrap; }
.pc-ord-table td { padding: 13px 16px; border-bottom: 1px solid #F2F5FA; vertical-align: middle; }
.pc-ord-table tbody tr { cursor: pointer; transition: background .15s; }
.pc-ord-table tbody tr:hover { background: #F8FAFF; }
.pc-ord-table tbody tr:last-child td { border-bottom: 0; }
.pc-ord-st { display: inline-flex; align-items: center; justify-content: center; min-width: 54px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1.3; box-sizing: border-box; }
.pc-ord-no { margin: 0; font-size: 12.5px; color: #27303F; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-ord-time { display: block; margin-top: 3px; font-size: 11px; color: #A6AEBF; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-ord-goods { display: flex; align-items: center; gap: 10px; min-width: 0; }
.pc-ord-goods img { width: 48px; height: 48px; border-radius: 8px; object-fit: cover; background: #F5F5F5; flex-shrink: 0; }
.pc-ord-goods div { min-width: 0; }
.pc-ord-goods p { margin: 0; font-size: 13px; color: #27303F; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-ord-goods span { display: block; margin-top: 3px; font-size: 11px; color: #A6AEBF; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pc-ord-amount { font-size: 16px; color: #E5484D; }
.pc-ord-detail { font-size: 12px; color: #667EEA; text-decoration: none; white-space: nowrap; }
.pc-ord-detail:hover { text-decoration: underline; }
.pc-ord-empty { padding: 60px 20px; text-align: center; font-size: 13px; color: #98A1B3; }
.pc-ord-empty-tr { cursor: default !important; }
@media (max-width: 1180px) and (min-width: 901px) {
  .pc-ord-head { padding: 16px 18px; }
  .pc-ord-search { padding: 12px 14px; }
  .pc-ord-search-box { flex-basis: 520px; }
  .pc-ord-tip { display: none; }
  .pc-ord-toolbar { padding: 12px 14px; }
  .pc-ord-table th, .pc-ord-table td { padding-left: 12px; padding-right: 12px; }
}
/* ===== 电脑端下单页 ===== */
.pc-buy-page { background: #F5F6F8; padding: 26px 0 52px; }
.pc-buy-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; box-sizing: border-box; }
.pc-buy-card { background: #fff; border: 1px solid #ECEEF2; border-radius: 18px; box-shadow: 0 12px 34px rgba(28,35,48,.06); overflow: hidden; box-sizing: border-box; }
.pc-buy-body { display: grid; grid-template-columns: 390px minmax(0, 1fr); gap: 36px; padding: 28px 28px 0; box-sizing: border-box; }
.pc-buy-left { min-width: 0; }
.pc-buy-img { width: 100%; aspect-ratio: 1 / 1; border-radius: 16px; overflow: hidden; background: #F5F7FB; }
.pc-buy-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-buy-detail { margin: 0 28px 28px; padding: 20px 22px; background: #FAFBFC; border: 1px solid #F0F1F4; border-radius: 12px; box-sizing: border-box; }
.pc-buy-detail h2 { position: relative; margin: 0 0 10px; padding-left: 11px; font-size: 15px; font-weight: 700; color: #222; }
.pc-buy-detail h2::before { content: ''; position: absolute; left: 0; top: 3px; width: 3px; height: 14px; border-radius: 2px; background: #FF7A00; }
.pc-buy-desc { font-size: 14px; line-height: 2; color: #555C6B; word-break: break-word; }
.pc-buy-right { min-width: 0; display: flex; flex-direction: column; }
.pc-buy-name { margin: 0; font-size: 28px; line-height: 1.35; font-weight: 800; color: #17181A; letter-spacing: .2px; }
.pc-buy-badges { display: flex; flex-wrap: wrap; gap: 8px; margin: 14px 0 18px; }
.pc-badge { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 6px; font-size: 12.5px; font-weight: 600; line-height: 1.4; white-space: nowrap; }
.pc-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.pc-badge.blue { background: #EFF4FF; color: #3B6EF6; }
.pc-badge.blue::before { background: #3B6EF6; }
.pc-badge.green { background: #EAF9F2; color: #0E9F6E; }
.pc-badge.green::before { background: #0E9F6E; }
.pc-badge.pink { background: #FFF0F5; color: #E5488A; }
.pc-badge.pink::before { background: #E5488A; }
.pc-badge.orange { background: #FFF4E8; color: #F08C00; }
.pc-badge.orange::before { background: #F08C00; }
.pc-buy-price-row { display: grid; grid-template-columns: 245px minmax(0, 1fr); gap: 26px; align-items: start; }
.pc-buy-pricebox { position: relative; min-height: 138px; background: #FFF7F8; border: 1px solid #FFE3E7; border-radius: 12px; padding: 18px; box-sizing: border-box; }
.pc-buy-price-lab { font-size: 12px; font-weight: 600; color: #FF5A5F; }
.pc-buy-price-now { margin-top: 8px; font-size: 44px; line-height: 1.05; font-weight: 800; color: #FF2D2D; display: flex; align-items: baseline; flex-wrap: wrap; letter-spacing: -1px; }
.pc-buy-price-now small { font-size: 11px; font-weight: 400; color: #A7ABB4; margin-left: 7px; letter-spacing: 0; }
.pc-buy-price-orig { position: absolute; right: 14px; bottom: 11px; font-size: 12px; color: #A7ABB4; }
.pc-buy-price-orig del { color: #A7ABB4; }
.pc-buy-form { min-width: 0; }
.pc-buy-form h2 { position: relative; margin: 0 0 14px; padding-left: 11px; font-size: 16px; font-weight: 700; color: #222; }
.pc-buy-form h2::before { content: ''; position: absolute; left: 0; top: 4px; width: 3px; height: 15px; border-radius: 2px; background: #FF7A00; }
.pc-buy-fields { display: flex; flex-direction: column; gap: 12px; }
.pc-buy-field { display: grid; grid-template-columns: 86px minmax(0, 1fr); align-items: center; gap: 10px; }
.pc-buy-field label { font-size: 13px; color: #333; margin: 0; }
.pc-buy-field label span { color: #FF2D2D; }
.pc-buy-field input { width: 100%; height: 46px; border: 1px solid #ECEEF2; border-radius: 10px; background: #F7F8FA; padding: 0 14px; font-size: 14px; color: #222; outline: none; box-sizing: border-box; }
.pc-buy-field input:focus { border-color: #FF7A00; background: #fff; box-shadow: 0 0 0 3px rgba(255,122,0,.1); }
.pc-buy-qty { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px 16px; margin-top: 18px; padding-top: 16px; border-top: 1px solid #F0F1F4; }
.pc-buy-qty-l { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.pc-buy-qty-l > span { font-size: 14px; color: #333; white-space: nowrap; }
.pc-buy-qty-l > em { font-style: normal; font-size: 13px; color: #888; }
.pc-buy-qty-l > small { font-size: 11px; color: #999; }
.pc-buy-step { display: flex; align-items: center; background: #F7F8FA; border: 1px solid #ECEEF2; border-radius: 10px; padding: 2px; }
.pc-buy-step button { width: 32px; height: 32px; border: 0; border-radius: 8px; background: transparent; color: #555; font-size: 16px; line-height: 1; cursor: pointer; }
.pc-buy-step button:hover { background: #fff; color: #FF7A00; }
.pc-buy-step b { min-width: 38px; text-align: center; font-size: 15px; font-weight: 700; color: #222; }
.pc-buy-payable { font-size: 13px; color: #666; white-space: nowrap; }
.pc-buy-payable b { font-size: 24px; font-weight: 800; color: #FF7A00; margin-left: 4px; letter-spacing: -.5px; }
.pc-buy-pay { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; margin-top: 14px; }
.pc-buy-pay-lab { font-size: 13px; color: #555; }
.pc-buy-pay-list { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.pc-pay-pill { display: flex; align-items: center; gap: 7px; padding: 0; border: 0; background: none; cursor: pointer; }
.pc-pay-dot { width: 16px; height: 16px; border: 2px solid #C7CFDF; border-radius: 50%; box-sizing: border-box; flex-shrink: 0; }
.pc-pay-pill.on .pc-pay-dot { border-color: #FF7A00; background: #FF7A00; }
.pc-pay-txt { font-size: 13px; color: #333; line-height: 1.3; }
.pc-pay-txt small { display: block; font-size: 11px; color: #999; margin-top: 1px; }
.pc-buy-auto { margin: 0 0 4px; padding: 11px 13px; background: #F7F8FA; border: 1px solid #F0F1F4; border-radius: 8px; font-size: 13px; color: #777; }
.pc-buy-notice { margin-top: 14px; font-size: 12px; line-height: 1.75; color: #888; }
.pc-buy-actions { margin-top: 20px; }
.pc-buy-btn { width: 100%; height: 58px; border: 0; border-radius: 10px; background: #FF7A00; color: #fff; font-size: 18px; font-weight: 700; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; letter-spacing: .5px; box-shadow: 0 8px 20px rgba(255,122,0,.24); }
.pc-buy-btn svg { width: 18px; height: 18px; }
.pc-buy-btn:hover { background: #F06E00; }
.pc-buy-btn:disabled { opacity: .7; cursor: default; }
@media (max-width: 1180px) and (min-width: 901px) {
  .pc-buy-body { grid-template-columns: 320px minmax(0, 1fr); gap: 26px; padding: 22px 22px 0; }
  .pc-buy-detail { margin: 0 22px 22px; padding: 18px 20px; }
  .pc-buy-name { font-size: 24px; }
  .pc-buy-price-row { grid-template-columns: 215px minmax(0, 1fr); gap: 18px; }
  .pc-buy-pricebox { padding: 15px; min-height: 128px; }
  .pc-buy-price-now { font-size: 37px; }
  .pc-buy-field { grid-template-columns: 76px minmax(0, 1fr); gap: 8px; }
  .pc-buy-field input { padding: 0 12px; }
  .pc-buy-payable b { font-size: 21px; }
  .pc-buy-btn { height: 54px; font-size: 17px; }
}
@media (max-width: 900px) {
  .pc-buy-body { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .pc-buy-left { max-width: 440px; }
  .pc-buy-price-row { grid-template-columns: 215px minmax(0, 1fr); }
}

/* ===== 电脑端个人中心 ===== */
.pc-mine-page { background: #F4F6FB; padding: 24px 0 46px; }
.pc-mine-wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.pc-mine-head { margin-bottom: 14px; padding: 0 2px; }
.pc-mine-head h1 { margin: 0; font-size: 26px; line-height: 1.25; font-weight: 800; color: #172033; letter-spacing: -.01em; }

.pc-mine-layout { display: grid; grid-template-columns: 320px minmax(0, 1fr); gap: 20px; align-items: start; }
.pc-mine-side { display: flex; flex-direction: column; min-width: 0; padding: 24px; color: #fff; background: radial-gradient(120% 80% at 100% 0%, rgba(61,107,255,.30), transparent 60%), linear-gradient(160deg, #142442 0%, #0A1426 100%); border: 1px solid rgba(255,255,255,.06); border-radius: 18px; box-shadow: 0 20px 44px rgba(9,21,45,.18); }
.pc-mine-user { display: flex; align-items: center; gap: 14px; }
.pc-mine-ava { width: 72px; height: 72px; flex: 0 0 72px; border-radius: 50%; overflow: hidden; background: #1C2C4F; border: 3px solid rgba(255,255,255,.92); box-shadow: 0 8px 20px rgba(0,0,0,.28); }
.pc-mine-ava img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pc-mine-user-tx { min-width: 0; }
.pc-mine-user-tx h1 { margin: 0; font-size: 22px; line-height: 1.25; font-weight: 800; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-mine-user-tx p { margin: 5px 0 0; font-size: 11.5px; line-height: 1.55; color: rgba(255,255,255,.62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-mine-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.pc-mine-tag { display: inline-flex; align-items: center; height: 22px; padding: 0 8px; border-radius: 5px; font-size: 11px; font-weight: 600; }
.pc-mine-tag.blue { color: #F4CB86; background: rgba(232,180,90,.16); border: 1px solid rgba(232,180,90,.28); }
.pc-mine-tag.green { color: #7DE3B8; background: rgba(55,199,145,.13); border: 1px solid rgba(55,199,145,.22); }

.pc-mine-assets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.pc-mine-stat { min-width: 0; display: flex; flex-direction: column; gap: 3px; padding: 12px; background: rgba(255,255,255,.065); border: 1px solid rgba(255,255,255,.075); border-radius: 12px; }
.pc-mine-stat span { font-size: 11px; color: rgba(255,255,255,.55); }
.pc-mine-stat .money { font-size: 20px; line-height: 1.2; font-weight: 800; color: #F4CB86; letter-spacing: -.02em; white-space: nowrap; }
.pc-mine-stat .money small { font-size: 11px; font-weight: 700; margin-right: 1px; }
.pc-mine-stat .points { font-size: 20px; line-height: 1.2; font-weight: 800; color: #fff; }
.pc-mine-stat a { margin-top: 1px; font-size: 11px; color: #AFC2FF; text-decoration: none; }
.pc-mine-stat a:hover { color: #fff; text-decoration: underline; }
.pc-mine-sign { height: 52px; margin-top: 12px; padding: 0 14px; display: flex; align-items: center; justify-content: space-between; gap: 10px; background: rgba(255,255,255,.065); border: 1px solid rgba(255,255,255,.075); border-radius: 12px; }
.pc-mine-sign span { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.82); }
.pc-mine-signbtn { width: 58px; height: 28px; flex-shrink: 0; border: 0; border-radius: 7px; background: #E8B45A; color: #1A2438; font-size: 12px; font-weight: 700; cursor: pointer; font-family: inherit; }
.pc-mine-signbtn:hover { background: #F4CB86; }
.pc-mine-sign-done { flex-shrink: 0; font-size: 12px; font-weight: 600; color: #7DE3B8; }
.pc-mine-edit { margin-top: 18px; padding-top: 16px; display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: rgba(255,255,255,.68); text-decoration: none; border-top: 1px solid rgba(255,255,255,.09); }
.pc-mine-edit span { font-size: 16px; color: rgba(255,255,255,.42); }
.pc-mine-edit:hover { color: #fff; }

.pc-mine-main { min-width: 0; background: #fff; border: 1px solid #E9EEF6; border-radius: 18px; box-shadow: 0 14px 36px rgba(24,49,105,.055); overflow: hidden; }
.pc-mine-acc { border-bottom: 1px solid #EEF1F7; }
.pc-mine-acc:last-child { border-bottom: 0; }
.pc-mine-acc-hd { width: 100%; height: 62px; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 0; background: none; cursor: pointer; text-align: left; font-family: inherit; }
.pc-mine-acc-hd:hover { background: #FBFCFE; }
.pc-mine-acc-hd:focus-visible { outline: 2px solid #2F54EB; outline-offset: -2px; }
.pc-mine-acc-title { display: flex; align-items: baseline; gap: 10px; min-width: 0; }
.pc-mine-acc-title h2 { margin: 0; font-size: 17px; line-height: 1.3; font-weight: 700; color: #172033; white-space: nowrap; }
.pc-mine-acc-title span { font-size: 12px; color: #7D889C; white-space: nowrap; }
.pc-mine-acc-title span b { color: #2F54EB; font-weight: 700; margin: 0 2px; }
.pc-mine-acc-chev { flex-shrink: 0; font-size: 20px; line-height: 1; color: #AAB3C2; transform: rotate(90deg); transition: transform .18s; }
.pc-mine-acc.open .pc-mine-acc-chev { transform: rotate(-90deg); }
.pc-mine-acc-body { display: none; padding: 0 24px 20px; }
.pc-mine-acc.open .pc-mine-acc-body { display: block; }

.pc-mine-orders-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.pc-mine-orders-row a { min-width: 0; padding: 10px 0 8px; display: flex; flex-direction: column; align-items: center; gap: 3px; border-radius: 12px; text-decoration: none; }
.pc-mine-orders-row a:hover { background: #F7F9FD; }
.pc-mine-order-ic { width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; margin-bottom: 2px; border-radius: 9px; color: #2F54EB; background: #EEF3FF; }
.pc-mine-order-ic svg { width: 17px; height: 17px; }
.pc-mine-order-ic.warm { color: #E8730C; background: #FFF3E8; }
.pc-mine-orders-row a b { font-size: 21px; line-height: 1.2; font-weight: 800; color: #172033; }
.pc-mine-orders-row a span { font-size: 12px; color: #7D889C; white-space: nowrap; }

.pc-mine-funcgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.pc-mine-func { min-width: 0; height: 60px; padding: 0 8px; display: flex; align-items: center; gap: 9px; background: #fff; border-radius: 12px; text-decoration: none; transition: background .16s; }
.pc-mine-func:hover { background: #F7F9FD; }
.pc-mine-func b { min-width: 0; font-size: 13px; line-height: 1.3; font-weight: 600; color: #1E293B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.pc-mine-services { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.pc-mine-service { min-width: 0; height: 54px; padding: 0 8px; display: flex; align-items: center; gap: 9px; background: #fff; border-radius: 12px; text-decoration: none; transition: background .16s; }
.pc-mine-service:hover { background: #F7F9FD; }
.pc-mine-service b { min-width: 0; font-size: 13px; line-height: 1.3; font-weight: 600; color: #1E293B; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-mine-service:last-child:nth-child(odd) { grid-column: 1 / -1; }
.pc-mine-service.exit b { color: #D9363E; }
.pc-mine-side-tag { flex-shrink: 0; margin-left: auto; padding: 3px 7px; border-radius: 5px; font-size: 10.5px; line-height: 1.4; color: #C2410C; background: #FFF1E8; }
.pc-mine-side-tag.on { color: #0E9F6E; background: #EAF9F2; }
.pc-mine-safe { margin: 12px 0 0; font-size: 11px; line-height: 1.7; color: #A6AFBE; }

.pc-mine-ic { width: 34px; height: 34px; flex: 0 0 34px; display: flex; align-items: center; justify-content: center; color: #2F54EB; background: #EEF3FF; border-radius: 9px; }
.pc-mine-ic svg { width: 17px; height: 17px; }
.pc-mine-ic.red { color: #D9363E; background: #FFF0F1; }

@media (max-width: 1180px) {
  .pc-mine-layout { grid-template-columns: 300px minmax(0, 1fr); gap: 18px; }
  .pc-mine-side { padding: 20px; }
  .pc-mine-acc-hd, .pc-mine-acc-body { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 1080px) {
  .pc-mine-layout { grid-template-columns: 290px minmax(0, 1fr); gap: 16px; }
  .pc-mine-ava { width: 64px; height: 64px; flex-basis: 64px; }
  .pc-mine-user-tx h1 { font-size: 20px; }
  .pc-mine-funcgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 980px) {
  .pc-mine-layout { grid-template-columns: 270px minmax(0, 1fr); gap: 16px; }
  .pc-mine-side { padding: 18px; }
  .pc-mine-acc-hd, .pc-mine-acc-body { padding-left: 18px; padding-right: 18px; }
  .pc-mine-stat { padding: 10px; }
  .pc-mine-stat .money, .pc-mine-stat .points { font-size: 18px; }
}
@media (max-width: 860px) {
  .pc-mine-page { padding-top: 18px; }
  .pc-mine-layout { grid-template-columns: 1fr; }
  .pc-mine-side { min-height: 0; }
  .pc-mine-edit { margin-top: 16px; padding-top: 16px; border-top: 1px solid #F0F3F8; }
}
@media (max-width: 560px) {
  .pc-mine-orders-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc-mine-funcgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pc-mine-services { grid-template-columns: 1fr; }
  .pc-mine-service:last-child:nth-child(odd) { grid-column: auto; }
}

/* ===== V18.4 商品卡购买按钮独立 + PC 分类卡正常比例 ===== */
.goods-link { display: block; text-decoration: none; color: inherit; }
.goods-name { text-decoration: none; color: inherit; }
.goods-buy { text-decoration: none; }
.pc-list-info { text-decoration: none; color: inherit; display: block; }
.pc-cat-grid { display: grid !important; grid-template-columns: repeat(auto-fill, 120px) !important; gap: 10px !important; justify-content: flex-start !important; }
.pc-cat-card { display: flex !important; flex-direction: column !important; align-items: stretch !important; justify-content: flex-start !important; width: 120px; height: auto !important; aspect-ratio: auto !important; padding: 0 !important; overflow: hidden !important; text-align: center !important; }
.pc-cat-pic { position: relative !important; inset: auto !important; width: 100% !important; height: auto !important; aspect-ratio: 1 / 1; border-radius: 0 !important; flex: 0 0 auto !important; }
.pc-cat-card b { position: static !important; left: auto !important; right: auto !important; bottom: auto !important; display: block !important; width: 100% !important; box-sizing: border-box !important; margin: 0 !important; padding: 7px 8px 9px !important; color: #27303F !important; background: transparent !important; text-shadow: none !important; font-size: 12px !important; line-height: 1.35 !important; text-align: center !important; white-space: nowrap !important; overflow: hidden !important; text-overflow: ellipsis !important; }
.pc-cat-card.on b { color: #2F6BFF !important; text-shadow: none !important; }
.pc-cat-card b { padding: 7px 8px 9px !important; }
.pc-cat-pic svg { width: 28px; height: 28px; }
@media (max-width: 1180px) {
  .pc-cat-grid { grid-template-columns: repeat(auto-fill, 112px) !important; }
  .pc-cat-card { width: 112px; }
}
@media (max-width: 980px) {
  .pc-cat-grid { grid-template-columns: repeat(auto-fill, 104px) !important; }
  .pc-cat-card { width: 104px; }
}

/* PC 商品卡：整卡不再是无意义点击区，只有图片/名称/购买可点 */
.pc-goods-grid .goods-card { cursor: default; }
.goods-link, .goods-name, .goods-buy { cursor: pointer; }

/* 轮播: 鼠标也能按住左右拖 */
.banner-wrapper { cursor: grab; }
.banner-wrapper.dragging { cursor: grabbing; }
.banner-wrapper, .banner-track, .banner-item { user-select: none; -webkit-user-select: none; }
.banner-item img, .banner-item a { -webkit-user-drag: none; user-drag: none; }
.banner-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 4; width: 34px; height: 34px; border: 0; border-radius: 50%; background: rgba(255,255,255,.82); color: #2F6BFF; display: flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 6px 16px rgba(20,30,60,.14); opacity: .9; transition: opacity .18s, background .18s, transform .18s; }
.banner-arrow:hover { background: #fff; opacity: 1; }
.banner-arrow:active { transform: translateY(-50%) scale(.94); }
.banner-arrow-prev { left: 12px; }
.banner-arrow-next { right: 12px; }
.banner-arrow svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .banner-arrow { display: none; } }