/* 威领单车 · 车店目录。保留原组件结构，只重画常用浏览界面。 */
:root {
  --bg: #eeeae1;
  --card: #f8f5ed;
  --line: #cfc9bb;
  --text: #20251e;
  --soft: #43483d;
  --sub: #60685d;
  --brand: #243d31;
  --brand-soft: #e0e8df;
  --accent: #bd612e;
  --price: #a44320;
  --head-bg: var(--bg);
  --head-text: var(--text);
  --btn-bg: var(--brand);
  --btn-text: #fffaf0;
  --font-head: 'Songti SC', 'Noto Serif CJK SC', Georgia, serif;
  --font-body: 'PingFang SC', 'Noto Sans CJK SC', 'Microsoft YaHei', sans-serif;
  --radius: 5px;
  --radius-lg: 7px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1d231f; --card: #29312a; --line: #485246; --text: #f0ede2;
    --soft: #d2d3c5; --sub: #b2bbaf; --brand: #bed2b9; --brand-soft: #344738;
    --accent: #e29462; --price: #ed9d76; --head-bg: var(--bg); --head-text: var(--text);
    --btn-bg: #bed2b9; --btn-text: #142119;
  }
}
body { background: #25352b; }
.ambient { display: none; }
#app { box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
.view.on { animation: none; }

/* 上方品牌像车店吊牌，英文编号用于辅助定位，不承担信息传达。 */
.home-top { padding: calc(19px + env(safe-area-inset-top)) 18px 14px; border-bottom: 1px solid var(--line); }
.home-brand b { font-family: var(--font-body); font-size: 19px; font-weight: 850; letter-spacing: .07em; }
.home-brand span { font-size: 11px; margin-top: 3px; letter-spacing: .04em; }
.cart-fab { border-radius: 4px; box-shadow: none; background: transparent; width: 43px; height: 43px; }

.hero { margin: 12px 12px 0; padding: 0; min-height: 267px; display: grid;
  grid-template-columns: 57% 43%; align-items: stretch; gap: 0; border: none;
  border-radius: 4px; color: #f7f4e9; background: #243d31; }
.hero .h-txt { position: relative; z-index: 1; padding: 23px 0 40px 19px; }
.hero .h-label { color: #d4ddcc; font-family: var(--font-body); font-size: 10px;
  font-weight: 600; letter-spacing: .19em; margin-bottom: 22px; }
.hero .h-title { font-family: var(--font-head); font-size: clamp(27px, 7vw, 37px);
  font-weight: 700; line-height: 1.2; letter-spacing: -.04em; white-space: nowrap; }
.hero .h-sub { color: #d9dfd2; font-size: 11px; line-height: 1.65; margin-top: 13px; }
.hero .h-cta { margin-top: 19px; padding: 8px 0; border: none; border-bottom: 1px solid #d9dfd2;
  border-radius: 0; background: transparent; color: #f7f4e9; font-size: 11px; font-weight: 700;
  text-align: left; cursor: pointer; }
.hero .h-cta span { margin-left: 7px; font-size: 15px; }
.hero .h-photo { min-width: 0; overflow: hidden; background: #405447; }
.hero .h-img { width: 100%; height: 100%; min-height: 267px; object-fit: cover;
  border: 0; border-radius: 0; box-shadow: none; transform: none; }
.hero .h-index { position: absolute; left: 19px; bottom: 13px; font-size: 9px; letter-spacing: .16em; color: #c7d2c3; }

.blk { margin: 23px 18px 8px; align-items: end; }
.blk small { display: block; font-size: 9px; letter-spacing: .2em; color: var(--sub); margin-bottom: 2px; }
.blk h2 { font-family: var(--font-head); font-size: 23px; letter-spacing: 0; line-height: 1.2; }
.blk span { font-size: 11px; padding-bottom: 3px; }
.chips { padding: 10px 13px 8px; gap: 6px; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.pill { flex: 0 0 auto; min-height: 35px; padding: 7px 13px; border-radius: 3px;
  background: transparent; color: var(--soft); font-size: 12px; }
.pill.on { font-weight: 700; }
.search-row { padding: 1px 12px 11px; }
.search-pill, .search-input { border-radius: 3px; background: var(--card); padding: 10px 12px; }
.search-pill { width: 100%; text-align: left; }

.grid { gap: 8px; padding: 0 12px; }
.p { border-radius: 3px; box-shadow: none; }
.p:hover { box-shadow: none; transform: translateY(-2px); border-color: var(--brand); }
.p img { height: 171px; aspect-ratio: 1/1; background: #ddd7c9; }
.p .info { padding: 10px 10px 12px; }
.p .n { font-size: 12.5px; line-height: 1.45; height: 36px; font-weight: 600; }
.p .r { align-items: end; margin-top: 10px; }
.p .price { font-size: 18px; font-weight: 800; }
.p .sold { font-size: 10px; }
.p .ct { border-radius: 2px; font-weight: 500; margin-top: 8px; }

/* 导航保持可预测的位置和图标，去掉悬浮玻璃及装饰性凸起。 */
.dock { bottom: 0; width: 100%; max-width: 430px; height: calc(65px + var(--safe-b));
  padding-bottom: var(--safe-b); border-radius: 0; border: 0; border-top: 1px solid var(--line);
  background: var(--card); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.dock > div { min-width: 0; font-size: 10px; gap: 3px; }
.dock .on::before { display: none; }
.dock .on { color: var(--brand); }
.dock .on::after { content: ''; position: absolute; top: -1px; width: 31px; height: 2px; background: var(--brand); }
.pub-slot .pub-plus { width: 27px; height: 27px; margin: 0; background: var(--brand);
  border-radius: 3px; box-shadow: none; font-size: 20px; }
.pub-slot span:last-child { color: var(--sub); }
.foot { font-size: 11px; padding: 20px 12px; }

.d-thumbs { display: flex; gap: 7px; overflow-x: auto; padding: 9px 12px;
  background: var(--card); border-bottom: 1px solid var(--line); }
.d-thumbs[hidden] { display: none; }
.d-thumb { flex: 0 0 64px; width: 64px; height: 64px; padding: 0; border: 2px solid transparent;
  border-radius: 3px; background: var(--bg); overflow: hidden; }
.d-thumb.on { border-color: var(--brand); }
.d-thumb img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 355px) {
  .hero { grid-template-columns: 61% 39%; min-height: 252px; }
  .hero .h-txt { padding-left: 14px; }
  .hero .h-title { font-size: 27px; }
  .hero .h-sub { font-size: 10px; }
  .hero .h-index { left: 14px; }
  .p img { height: 143px; }
}
