* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
body { font-family: -apple-system, "PingFang SC", "Microsoft YaHei", sans-serif; background: #f4f5f5; color: #333; max-width: 480px; margin: 0 auto; min-height: 100vh; padding-bottom: 74px; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.lx-search-bar { display: flex; align-items: center; background: #2b2f35; padding: 10px 14px; }
.lx-search-bar input { flex: 1; border: none; border-radius: 4px; padding: 8px 14px; font-size: 14px; outline: none; }
.lx-nav-tabs { display: flex; gap: 16px; background: #2b2f35; color: #c8ccd0; padding: 10px 14px 12px; font-size: 15px; overflow-x: auto; }
.lx-nav-tabs a.active { color: #fff; font-weight: bold; border-bottom: 2px solid #a3a8ae; padding-bottom: 2px; }
.lx-banner { margin: 10px; border-radius: 6px; overflow: hidden; }
.lx-banner img { width: 100%; }
.lx-sec-head { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 12px 8px; }
.lx-sec-head h3 { font-size: 17px; }
.lx-sec-head span { font-size: 12px; color: #999; }
.lx-goods-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 0 12px; }
.lx-goods-card { background: #fff; border-radius: 6px; overflow: hidden; box-shadow: 0 1px 3px rgba(43,47,53,.07); }
.lx-goods-card .lx-thumb { width: 100%; aspect-ratio: 1; object-fit: cover; background: #eee; }
.lx-goods-card .lx-info { padding: 8px 10px 12px; }
.lx-goods-card .lx-name { font-size: 13px; line-height: 1.4; height: 36px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.lx-goods-card .lx-price { color: #2b2f35; font-weight: bold; margin: 6px 0 8px; }
.lx-trust-bar { display: flex; justify-content: space-around; margin: 16px 12px 0; background: #eef0f1; border: 1px solid #dcdfe2; border-radius: 6px; padding: 10px 6px; }
.lx-trust-bar span { font-size: 12px; color: #4a5058; font-weight: bold; }
.lx-btn-primary { display: block; width: 100%; background: #3d434b; color: #fff; border: none; border-radius: 4px; padding: 12px; font-size: 16px; text-align: center; cursor: pointer; }
.lx-btn-buy { background: #2b2f35; color: #fff; border: none; border-radius: 4px; padding: 6px 16px; font-size: 13px; }
.swiper { position: relative; background: #000; overflow: hidden; }
.lx-swiper-track { display: flex; transition: transform .3s ease; will-change: transform; cursor: grab; touch-action: pan-y; }
.lx-swiper-track.dragging { transition: none; cursor: grabbing; }
.swiper .lx-swiper-slide { flex: 0 0 100%; }
.swiper .lx-swiper-slide img { width: 100%; aspect-ratio: 1; object-fit: cover; -webkit-user-drag: none; user-select: none; }
.swiper .lx-counter { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.5); color: #fff; font-size: 12px; border-radius: 12px; padding: 2px 10px; pointer-events: none; }
.swiper .lx-arrow-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 30px; height: 30px; line-height: 28px; text-align: center; background: rgba(0,0,0,.35); color: #fff; border-radius: 50%; font-size: 16px; cursor: pointer; }
.swiper .lx-arrow-btn.prev { left: 8px; }
.swiper .lx-arrow-btn.next { right: 8px; }
.swiper .lx-dots { position: absolute; left: 0; right: 0; bottom: 10px; display: flex; justify-content: center; gap: 6px; pointer-events: none; }
.swiper .lx-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.45); }
.swiper .lx-dots i.on { background: #fff; width: 14px; border-radius: 3px; }
.lx-pd-price-row { display: flex; gap: 6px; padding: 8px 12px 0; align-items: center; flex-wrap: wrap; }
.lx-tag { background: #eef0f1; color: #2b2f35; border: 1px solid #2b2f35; border-radius: 4px; font-size: 12px; padding: 3px 10px; }
.lx-pd-price { font-size: 20px; font-weight: bold; }
.lx-pd-title { font-size: 16px; font-weight: bold; padding: 6px 12px; line-height: 1.5; }
.lx-pd-meta { display: flex; justify-content: space-between; color: #999; font-size: 12px; padding: 0 12px 10px; }
.lx-card { background: #fff; border-radius: 6px; margin: 10px 12px; padding: 12px; }
.lx-spec-row { display: flex; justify-content: space-between; align-items: center; }
.lx-arrow { color: #ccc; }
.lx-spec-mask { position: fixed; inset: 0; background: rgba(0,0,0,.45); display: none; z-index: 99; }
.lx-spec-panel { position: fixed; left: 0; right: 0; bottom: 0; max-width: 480px; margin: 0 auto; background: #fff; border-radius: 10px 10px 0 0; padding: 14px; display: none; z-index: 100; max-height: 70vh; overflow: auto; }
.lx-spec-item { display: inline-block; border: 1px solid #2b2f35; color: #2b2f35; border-radius: 4px; padding: 5px 12px; font-size: 13px; margin: 4px 6px 4px 0; cursor: pointer; }
.lx-spec-item.on { background: #2b2f35; color: #fff; }
.lx-num-ctrl { display: inline-flex; align-items: center; gap: 10px; }
.lx-num-ctrl button { width: 28px; height: 28px; border: 1px solid #ddd; background: #fff; border-radius: 4px; }
.lx-bottom-bar { position: fixed; left: 0; right: 0; bottom: 0; max-width: 480px; margin: 0 auto; background: #fff; display: flex; align-items: center; padding: 8px 12px; gap: 8px; box-shadow: 0 -2px 8px rgba(43,47,53,.08); z-index: 90; }
.lx-bottom-bar .lx-op { text-align: center; font-size: 11px; color: #666; width: 44px; }
.lx-bottom-bar .lx-op .lx-ico { font-size: 18px; }
.lx-btn-cart { flex: 1; background: #a3a8ae; color: #fff; border: none; border-radius: 4px; padding: 11px; font-size: 15px; }
.lx-btn-buy2 { flex: 1; background: #2b2f35; color: #fff; border: none; border-radius: 4px; padding: 11px; font-size: 15px; }
.lx-tabbar { position: fixed; left: 0; right: 0; bottom: 0; max-width: 480px; margin: 0 auto; background: #fff; display: flex; border-top: 1px solid #eee; z-index: 90; }
.lx-tabbar a { flex: 1; text-align: center; padding: 8px 0 10px; font-size: 11px; color: #888; }
.lx-tabbar a .lx-ico { font-size: 20px; display: block; }
.lx-tabbar a.active { color: #2b2f35; font-weight: bold; }
.lx-foot-links { display: flex; flex-wrap: wrap; gap: 6px 14px; justify-content: center; padding: 18px 14px 4px; }
.lx-foot-links a { font-size: 12px; color: #666; }
.lx-foot-info { text-align: center; padding: 8px 16px 0; font-size: 12px; color: #999; line-height: 1.9; }
.lx-foot-info a { color: #999; }
.lx-foot-pay { text-align: center; padding: 6px 0 16px; font-size: 12px; color: #4a5058; }
.lx-form-item { display: flex; align-items: center; gap: 8px; background: #fff; border-bottom: 1px solid #eee; padding: 14px 16px; }
.lx-form-item input { flex: 1; border: none; outline: none; font-size: 15px; }
.lx-cell { background: #fff; display: flex; justify-content: space-between; align-items: center; padding: 14px 16px; border-bottom: 1px solid #f0f0f0; }
.lx-me-head { background: #2b2f35; color: #fff; padding: 18px 16px 0; }
.lx-me-stats { display: flex; text-align: center; padding: 14px 0; }
.lx-me-stats div { flex: 1; }
.lx-me-stats b { display: block; font-size: 18px; }
.lx-me-stats span { font-size: 12px; color: #c6cad0; }
.lx-order-grid { display: flex; background: #fff; padding: 12px 0; margin-top: 10px; }
.lx-order-grid a { flex: 1; text-align: center; font-size: 12px; color: #555; position: relative; }
.lx-order-grid .lx-ico { font-size: 22px; display: block; margin-bottom: 4px; }
.lx-order-grid .lx-badge { position: absolute; top: -6px; right: 18%; background: #e33; color: #fff; font-size: 10px; border-radius: 10px; padding: 0 5px; }
.admin-wrap { max-width: 100%; }
.admin-nav { background: #2b2f35; color: #fff; }
.admin-nav a { color: #c6cbd4; display: block; padding: 12px 18px; border-bottom: 1px solid rgba(255,255,255,.06); }
.admin-nav a.active { background: #3d434b; color: #fff; }
.table { width: 100%; border-collapse: collapse; background: #fff; }
.table th, .table td { border-bottom: 1px solid #eee; padding: 10px; font-size: 13px; text-align: left; }
.table th { background: #f7f8f8; }
.btn-sm { padding: 4px 10px; font-size: 12px; border-radius: 4px; border: 1px solid #ddd; background: #fff; cursor: pointer; }
.btn-del { color: #e33; border-color: #e33; }

/* 2026-10-26 桌面全屏覆盖（站群固化方案） */
@media (min-width: 768px) {
  body { max-width: none; margin: 0; padding-bottom: 40px; }
  .lx-card { max-width: 1200px; margin: 14px auto; }
  .lx-tabbar { display: none; }
  .lx-bottom-bar { max-width: 1280px; padding: 10px 20px; }
  .swiper { max-width: 1200px; margin: 0 auto; }
  .lx-spec-panel { left: 50%; right: auto; transform: translateX(-50%); bottom: 84px; width: 520px; border-radius: 10px; }
  .lx-me-head, .lx-me-stats, .lx-order-grid, .lx-form-item, .lx-cell { max-width: 1200px; margin-left: auto; margin-right: auto; }
  .lx-goods-grid { max-width: 1200px; margin: 0 auto; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lx-foot-links, .lx-foot-info, .lx-foot-pay { max-width: 1200px; margin: 0 auto; }
  .lx-pd-price-row, .lx-pd-title, .lx-pd-meta { max-width: 1200px; margin-left: auto; margin-right: auto; }
}
