/* 骑行出发 · 自行车租赁 — 移动端绿色主题 */
:root {
  --primary: #32C15E;
  --primary-dark: #28A745;
  --primary-light: #E8F8ED;
  --price-orange: #FF5722;
  --bg: #FFFFFF;
  --white: #FFFFFF;
  --text: #333333;
  --text-secondary: #666666;
  --text-muted: #999999;
  --border: #E5E7EB;
  --shadow: 0 4px 16px rgba(34, 197, 94, 0.1);
  --radius: 12px;
  --header-dark: #15803D;
  --blue: #1890FF;
  --green: #22C55E;
  --red: #EF4444;
  --orange: #F97316;
  --tab-scan-blue: #22C55E;
  --tab-scan-blue-dark: #16A34A;
  --page-gutter: 16px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --tab-bar-h: 58px;
  --tab-bar-fab-size: 52px;
  --tab-bar-fab-overhang: 8px;
  --tab-bar-clearance: calc(var(--tab-bar-h) + var(--safe-bottom) + 10px);
  --tab-icon-idle: #A8A8A8;
  --tab-icon-active: #32C15E;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }

.mobile-app-body {
  min-height: 100vh;
  background: var(--bg);
}
.mobile-app-body.has-mobile-tab { padding-bottom: var(--tab-bar-clearance); }

.mobile-page {
  min-height: calc(100vh - var(--tab-bar-clearance));
  padding-bottom: 16px;
}
.mobile-page.no-tab { min-height: 100vh; padding-bottom: calc(16px + var(--safe-bottom)); }

/* ===== 顶部导航 ===== */
.nav-bar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: calc(8px + var(--safe-top)) 16px 8px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.nav-bar .back {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  margin-right: 4px;
}
.nav-bar .title {
  flex: 1;
  font-size: 17px;
  font-weight: 600;
  text-align: center;
  margin-right: 40px;
}
.nav-bar.transparent {
  position: absolute;
  left: 0; right: 0;
  background: transparent;
  border: none;
  z-index: 10;
}
.nav-bar.transparent .back, .nav-bar.transparent .actions { color: #fff; }

/* ===== 底部 Tab · 服装租赁 ===== */
.tab-bar {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200;
  height: calc(var(--tab-bar-h) + var(--safe-bottom));
  padding-bottom: var(--safe-bottom);
}
.tab-bar-bg {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.98);
  border-top: 1px solid #EEEEEE;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.04);
  backdrop-filter: blur(12px);
}
.tab-bar-inner {
  position: relative;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  height: var(--tab-bar-h);
  max-width: 480px;
  margin: 0 auto;
  padding: 0 6px;
}
.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: var(--tab-icon-idle);
  font-size: 11px;
  padding: 6px 4px 8px;
  text-decoration: none;
  transition: color .25s ease;
  -webkit-tap-highlight-color: transparent;
}
.tab-icon-wrap {
  position: relative;
  width: 40px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease;
}
.tab-icon-wrap .tab-svg {
  width: 28px;
  height: 28px;
  display: block;
  color: var(--tab-icon-idle);
  transition: color .2s ease;
}
.tab-icon-line,
.tab-icon-solid {
  transition: opacity .22s ease, transform .22s ease;
  transform-origin: center;
}
.tab-icon-solid {
  opacity: 0;
  transform: scale(0.82);
}
.tab-icon-line {
  opacity: 1;
  transform: scale(1);
}
.tab-label {
  line-height: 1.15;
  letter-spacing: 0.02em;
  font-weight: 500;
  font-size: 10px;
  transition: color .2s ease, font-weight .2s ease;
}
.tab-item.active {
  color: var(--tab-icon-active);
}
.tab-item.active .tab-icon-wrap::before {
  content: '';
  position: absolute;
  inset: -2px -4px;
  border-radius: 12px;
  background: rgba(50, 193, 94, 0.12);
}
.tab-item.active .tab-icon-wrap .tab-svg {
  color: var(--tab-icon-active);
}
.tab-item.active .tab-icon-line {
  opacity: 0;
  transform: scale(0.82);
}
.tab-item.active .tab-icon-solid {
  opacity: 1;
  transform: scale(1);
}
.tab-item.active .tab-label {
  font-weight: 600;
  color: var(--tab-icon-active);
}
.tab-item:active .tab-icon-wrap {
  transform: scale(0.92);
}

/* ===== 首页 ===== */
.home-search-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: calc(12px + var(--safe-top)) var(--page-gutter) 12px;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg) 100%);
}
.home-search {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
  padding: 10px 14px;
  background: var(--white);
  border-radius: 24px;
  box-shadow: var(--shadow);
  color: var(--text-muted);
  font-size: 14px;
}
.home-search i { color: var(--primary); }
.home-icons { display: flex; gap: 14px; }
.home-icons a {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--primary-dark);
  font-size: 18px;
}

.banner-carousel {
  position: relative;
  margin: 0 var(--page-gutter) 16px;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 750 / 300;
  background: var(--primary-light);
}
.banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.banner-slide.active { opacity: 1; pointer-events: auto; }
.banner-slide img { width: 100%; height: 100%; object-fit: cover; }
.banner-text {
  position: absolute;
  left: 16px; bottom: 16px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.banner-text h2 { font-size: 18px; margin-bottom: 4px; }
.banner-text p { font-size: 13px; opacity: 0.9; }
.banner-dots {
  position: absolute;
  bottom: 10px; right: 12px;
  display: flex; gap: 6px;
}
.banner-dots .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
}
.banner-dots .dot.active { background: #fff; width: 16px; border-radius: 3px; }

.quick-nav {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0 var(--page-gutter) 16px;
}
.quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  font-size: 12px;
}
.quick-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; color: #fff;
}
.quick-icon.blue { background: linear-gradient(135deg, #60A5FA, #3B82F6); }
.quick-icon.orange { background: linear-gradient(135deg, #F472B6, var(--primary)); }
.quick-icon.yellow { background: linear-gradient(135deg, #FBBF24, #F59E0B); }
.quick-icon.pink { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px var(--page-gutter) 12px;
}
.section-head h3 { font-size: 16px; font-weight: 700; }
.section-head a { font-size: 13px; color: var(--text-muted); }

.book-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 0 var(--page-gutter) 16px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.book-scroll::-webkit-scrollbar { display: none; }
.book-card-mini {
  flex: 0 0 120px;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
}
.book-card-mini img {
  width: 120px; height: 160px;
  object-fit: cover;
  border-radius: 10px;
  background: var(--primary-light);
  margin-bottom: 8px;
}
.book-card-mini .title {
  font-size: 13px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.book-card-mini .author {
  font-size: 11px;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.activity-banner {
  margin: 0 var(--page-gutter) 16px;
  padding: 16px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.activity-banner .tag {
  display: inline-block;
  font-size: 11px;
  background: rgba(255,255,255,0.2);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}
.activity-banner h4 { font-size: 15px; margin-bottom: 4px; }
.activity-banner p { font-size: 12px; opacity: 0.85; }
.btn-sm {
  display: inline-block;
  padding: 8px 16px;
  background: #fff;
  color: var(--primary-dark);
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

/* ===== 搜索页 ===== */
.search-page { background: var(--white); min-height: 100vh; }
.search-page-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: calc(10px + var(--safe-top)) 12px 10px;
  border-bottom: 1px solid #f5f5f5;
}
.search-back, .search-cancel {
  color: var(--text);
  font-size: 14px;
  padding: 6px;
}
.search-box {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg);
  border-radius: 20px;
  padding: 8px 14px;
}
.search-box input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 14px;
}
.search-section { padding: 16px; }
.search-section h4 {
  font-size: 14px;
  margin-bottom: 12px;
  display: flex;
  justify-content: space-between;
}
.search-section-action { font-size: 12px; color: var(--text-muted); font-weight: normal; }
.history-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.history-tag {
  padding: 6px 14px;
  background: var(--bg);
  border-radius: 16px;
  font-size: 13px;
  color: var(--text-secondary);
}
.hot-list { list-style: none; }
.hot-list-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
  color: inherit;
  text-decoration: none;
}
.hot-list .rank {
  width: 22px; height: 22px;
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
  background: #f5f5f5; color: var(--text-muted);
}
.hot-list .rank.r1 { background: var(--primary); color: #fff; }
.hot-list .rank.r2 { background: #F472B6; color: #fff; }
.search-results-list { padding: 0 16px; }
.search-empty { text-align: center; padding: 40px; color: var(--text-muted); }

/* ===== 列表项 ===== */
.book-list-item {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
  color: inherit;
  text-decoration: none;
}
.book-list-item img, .book-list-item .book-cover-img {
  width: 72px; height: 96px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: var(--primary-light);
}
.book-list-item .meta { flex: 1; min-width: 0; }
.book-list-item .meta h4 {
  font-size: 15px;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.book-list-item .meta p { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }

.rank-list-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--white);
  border-bottom: 1px solid #f5f5f5;
  color: inherit;
  text-decoration: none;
}
.rank-num { width: 28px; font-weight: 700; color: var(--text-muted); text-align: center; }
.rank-num.top { color: var(--primary); }

/* ===== 分类页 ===== */
.mobile-page-category { padding-bottom: var(--tab-bar-clearance); }
.category-layout {
  display: flex;
  min-height: calc(100vh - 48px - var(--tab-bar-clearance));
}
.category-sidebar {
  width: 88px;
  flex-shrink: 0;
  background: #fafafa;
  overflow-y: auto;
}
.category-sidebar a {
  display: block;
  padding: 14px 10px;
  font-size: 13px;
  color: var(--text-secondary);
  text-align: center;
  border-left: 3px solid transparent;
  text-decoration: none;
}
.category-sidebar a.active {
  background: var(--white);
  color: var(--primary);
  font-weight: 600;
  border-left-color: var(--primary);
}
.category-main { flex: 1; overflow-y: auto; padding: 12px; }
.category-content {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  background: var(--bg);
}
.category-books-breadcrumb-inline {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.category-books-breadcrumb-inline strong {
  color: var(--text);
  font-size: 14px;
}
.category-books-count {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}
.category-books-empty {
  text-align: center;
  padding: 48px 16px;
  color: var(--text-muted);
}
.category-books-empty i {
  font-size: 40px;
  margin-bottom: 12px;
  opacity: 0.35;
}
.book-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.book-grid-card {
  display: block;
  color: inherit;
  text-decoration: none;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.book-grid-cover {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
  background: #f3f4f6;
}
.book-grid-title {
  font-size: 12px;
  line-height: 1.35;
  margin: 8px 8px 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 32px;
}
.book-grid-author {
  font-size: 11px;
  color: var(--text-muted);
  margin: 0 8px 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.book-grid-pagination {
  margin-top: 16px;
  padding-bottom: 8px;
}
.cat-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px;
  margin-bottom: 10px;
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  background: var(--white);
  box-shadow: var(--shadow);
}
.cat-card h4 { font-size: 14px; margin-bottom: 4px; }
.cat-card p { font-size: 12px; color: var(--text-muted); }

/* ===== 详情页 ===== */
.detail-page { padding-bottom: 80px; background: var(--bg); }
.detail-header {
  background: linear-gradient(180deg, var(--header-dark) 0%, #166534 100%);
  padding-bottom: 20px;
  color: #fff;
}
.detail-book {
  display: flex;
  gap: 16px;
  padding: 0 16px;
}
.detail-book-cover {
  width: 110px; height: 150px;
  object-fit: cover;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}
.detail-book .info { flex: 1; font-size: 13px; line-height: 1.7; opacity: 0.95; }
.detail-book .info h1 { font-size: 18px; margin-bottom: 8px; line-height: 1.3; }
.detail-nav-icon-btn {
  background: rgba(255,255,255,0.15);
  border: none;
  color: #fff;
  width: 36px; height: 36px;
  border-radius: 50%;
  cursor: pointer;
}
.nav-bar .actions { display: flex; gap: 10px; align-items: center; }

.rating-card {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: -16px 16px 12px;
  padding: 14px 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}
.rating-card .score { font-size: 28px; font-weight: 700; color: var(--primary); }
.rating-card .stars { color: #FFC107; font-size: 12px; }
.rating-card .count { font-size: 12px; color: var(--text-muted); margin-left: auto; }

.detail-tabs {
  display: flex;
  background: var(--white);
  margin: 0 16px;
  border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden;
}
.detail-tabs a {
  flex: 1;
  text-align: center;
  padding: 12px;
  font-size: 14px;
  color: var(--text-secondary);
  border-bottom: 2px solid transparent;
  text-decoration: none;
}
.detail-tabs a.active {
  color: var(--primary);
  font-weight: 600;
  border-bottom-color: var(--primary);
}
.detail-body {
  background: var(--white);
  margin: 0 16px 16px;
  padding: 16px;
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
}
.detail-body h3 { color: var(--text); font-size: 15px; margin-bottom: 10px; }

.detail-footer {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 10px 16px calc(10px + var(--safe-bottom));
  box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
}
.detail-footer-inner { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; }
.detail-footer .btn-outline,
.detail-footer .btn-primary,
.detail-footer .btn-buy-outline,
.detail-footer .btn-borrow-solid {
  flex: 1;
  padding: 12px;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  text-align: center;
}
.detail-footer .btn-outline {
  background: var(--primary-light);
  color: var(--primary-dark);
  border: 1px solid var(--border);
}
.detail-footer .btn-primary,
.detail-footer .btn-borrow-solid {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}
.detail-footer .btn-buy-outline {
  background: var(--white);
  color: var(--primary);
  border: 1px solid var(--primary);
}
.detail-footer-shop .detail-footer-inner { gap: 8px; }
.detail-footer-shop .btn-outline,
.detail-footer-shop .btn-buy-outline { flex: 0.8; }
.detail-footer-shop .btn-borrow-solid,
.detail-footer-shop .btn-primary { flex: 1.2; }

/* ===== 租期条 ===== */
.detail-rent-bar {
  margin: 0 16px 12px;
  padding: 14px 16px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}
.detail-rent-bar-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  font-size: 14px;
}
.detail-rent-label { color: var(--text); font-weight: 600; }
.detail-rent-label i { color: var(--primary); margin-right: 4px; }
.detail-rent-fee { color: var(--primary-dark); font-weight: 600; font-size: 13px; }
.detail-rent-stepper { display: flex; align-items: center; gap: 12px; }
.detail-rent-btn {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 18px;
  cursor: pointer;
}
.detail-rent-days strong { font-size: 20px; color: var(--primary-dark); }
.detail-rent-range { margin-left: auto; font-size: 12px; color: var(--text-muted); }

/* ===== 个人中心 ===== */
.user-center-page {
  background: var(--bg);
  padding-bottom: calc(24px + var(--tab-bar-clearance));
}
.user-hero {
  position: relative;
  padding: calc(16px + var(--safe-top)) 20px 56px;
  color: #fff;
  overflow: hidden;
}
.user-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #15803D 0%, var(--primary) 45%, #4ADE80 100%);
}
.user-hero-bg::after {
  content: '';
  position: absolute;
  right: -30px; top: -20px;
  width: 160px; height: 160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.user-hero-top, .user-hero-profile { position: relative; z-index: 1; }
.user-hero-title { font-size: 18px; font-weight: 600; margin-bottom: 20px; opacity: 0.95; }
.user-hero-profile-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.user-hero-personal {
  display: flex;
  align-items: center;
  gap: 14px;
  color: inherit;
  text-decoration: none;
  flex: 1;
  min-width: 0;
}
.user-hero-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.35);
  object-fit: cover;
}
.user-hero-name { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.user-hero-cardno { font-size: 12px; opacity: 0.85; }
.user-hero-qr {
  width: 44px; height: 44px;
  border-radius: 12px;
  border: none;
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  backdrop-filter: blur(4px);
}
.user-hero-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
}

.user-stats-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-radius: 16px;
  margin: 0 16px 16px;
  padding: 16px 8px;
  box-shadow: var(--shadow);
}
.user-stats-float { margin-top: -36px; position: relative; z-index: 2; }
.user-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  color: inherit;
}
.user-stat-num { font-size: 20px; font-weight: 700; color: var(--primary-dark); }
.user-stat-label { font-size: 11px; color: var(--text-muted); }

.user-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0 16px 16px;
}
.user-quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 6px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(236, 72, 153, 0.08);
  color: inherit;
  position: relative;
  text-decoration: none;
}
.user-quick-item:active { transform: scale(0.97); }
.user-quick-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.user-quick-label { font-size: 12px; color: var(--text-secondary); }
.user-quick-badge {
  position: absolute;
  top: 8px; right: 8px;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-size: 10px;
  line-height: 16px;
  text-align: center;
}

.user-section-title {
  font-size: 13px;
  color: var(--text-muted);
  padding: 0 20px 8px;
  font-weight: 600;
}

.user-menu-card {
  background: var(--white);
  border-radius: 16px;
  margin: 0 16px 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(236, 72, 153, 0.06);
}
.user-menu-card a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid #f8f8f8;
  font-size: 15px;
}
.user-menu-card a:last-child { border-bottom: none; }
.user-menu-card a > i:last-child {
  margin-left: auto;
  color: #ddd;
  font-size: 12px;
}
.user-menu-card a i:first-child {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.user-menu-badge {
  margin-left: auto;
  margin-right: 8px;
  font-style: normal;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary-dark);
}

.user-logout-btn {
  display: block;
  width: calc(100% - 32px);
  margin: 20px 16px;
  padding: 14px;
  border: none;
  border-radius: 24px;
  background: var(--white);
  color: var(--red);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow);
}

/* 会员证弹窗 */
.user-reader-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.user-reader-modal[hidden] { display: none; }
.user-reader-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
}
.user-reader-sheet {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border-radius: 20px 20px 0 0;
  padding: 20px 24px calc(24px + var(--safe-bottom));
  text-align: center;
}
.user-reader-sheet-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.user-reader-close {
  border: none;
  background: #f5f5f5;
  width: 32px; height: 32px;
  border-radius: 50%;
  cursor: pointer;
}
.user-reader-site { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.user-reader-cardno-label { font-size: 12px; color: var(--text-muted); display: block; }
.user-reader-cardno { font-size: 22px; color: var(--primary-dark); letter-spacing: 1px; }
.user-reader-qr-wrap { margin: 16px auto; display: inline-block; padding: 12px; background: #fff; border: 1px solid var(--border); border-radius: 12px; }
.user-reader-hint { font-size: 12px; color: var(--text-muted); margin: 12px 0; }
.user-reader-actions { display: flex; gap: 10px; justify-content: center; }
.user-reader-copy, .user-reader-full {
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
}
.user-reader-copy { border: 1px solid var(--border); background: var(--white); color: var(--text); }
.user-reader-full { background: var(--primary); color: #fff; text-decoration: none; }
body.user-reader-open { overflow: hidden; }

/* ===== 登录/认证 ===== */
.auth-page {
  min-height: 100vh;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg) 40%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
}
.auth-wrap { width: 100%; max-width: 400px; }
.auth-logo { text-align: center; margin-bottom: 24px; }
.auth-logo .icon {
  width: 64px; height: 64px;
  margin: 0 auto 12px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.auth-logo h1 { font-size: 22px; color: var(--header-dark); }
.auth-logo p { font-size: 13px; color: var(--text-muted); margin-top: 4px; }
.auth-card {
  background: var(--white);
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: var(--shadow);
}
.auth-card h2 { font-size: 18px; margin-bottom: 20px; text-align: center; }
.auth-field { margin-bottom: 16px; }
.auth-field label { display: block; font-size: 13px; color: var(--text-secondary); margin-bottom: 6px; }
.input-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0 12px;
  background: var(--bg);
}
.input-wrap i { color: var(--primary); }
.input-wrap input {
  flex: 1;
  border: none;
  background: transparent;
  padding: 12px 0;
  outline: none;
}
.auth-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 8px;
}
.auth-error { color: var(--red); font-size: 13px; margin-bottom: 12px; text-align: center; }
.auth-links { text-align: center; margin-top: 16px; font-size: 13px; color: var(--text-muted); }
.auth-guest { text-align: center; margin-top: 20px; }
.auth-guest a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: var(--primary);
  text-decoration: none;
}
.auth-footer { text-align: center; margin-top: 12px; font-size: 12px; color: var(--text-muted); }

/* ===== 租赁确认/成功 ===== */
.bc-page { padding: 16px; background: var(--bg); }
.bc-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: var(--shadow);
}
.bc-title { font-size: 18px; margin-bottom: 16px; }
.bc-book { display: flex; gap: 12px; margin-bottom: 16px; }
.bc-book-cover { width: 80px; height: 110px; object-fit: cover; border-radius: 8px; }
.bc-book-meta h2 { font-size: 16px; margin-bottom: 6px; }
.bc-muted { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.bc-days-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.bc-days-stepper { display: flex; align-items: center; gap: 12px; }
.bc-days-btn {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 18px;
  cursor: pointer;
}
.bc-fee-box {
  background: var(--primary-light);
  border-radius: 10px;
  padding: 12px;
  margin-top: 8px;
  font-size: 14px;
}
.bc-fee-box strong { color: var(--primary-dark); font-size: 18px; }
.bc-delivery-tabs { display: flex; gap: 8px; margin-bottom: 12px; }
.bc-delivery-tab {
  flex: 1; padding: 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fff;
  text-align: center;
  cursor: pointer;
  font-size: 14px;
}
.bc-delivery-tab.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
}
.bc-pickup-item {
  display: flex;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  margin-bottom: 8px;
  cursor: pointer;
}
.bc-pickup-item.is-selected { border-color: var(--primary); background: var(--primary-light); }
.bc-btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: 24px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  border: none;
  cursor: pointer;
  text-decoration: none;
}
.bc-btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; }
.bc-btn-ghost { background: var(--primary-light); color: var(--primary-dark); }
.bc-btn-block { display: block; width: 100%; margin-top: 10px; }

.bc-success-page { padding: 24px 16px; text-align: center; }
.bc-success-card { background: var(--white); border-radius: 16px; padding: 24px; box-shadow: var(--shadow); }
.bc-success-icon { font-size: 56px; color: var(--green); margin-bottom: 12px; }
.bc-pickup-code { font-size: 32px; letter-spacing: 4px; color: var(--primary-dark); }

/* ===== 通用按钮/卡片 ===== */
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 24px;
  font-weight: 600;
  cursor: pointer;
}
.text-accent { color: var(--primary) !important; }
.text-price { color: var(--primary-dark); font-weight: 600; }
.card-gradient {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  border-radius: var(--radius);
  padding: 24px 20px;
}

/* ===== 我的租赁 ===== */
.rental-page {
  background: var(--bg);
  padding-bottom: calc(24px + var(--tab-bar-clearance));
}
.rental-hero {
  position: relative;
  padding: calc(20px + var(--safe-top)) 20px 48px;
  color: #fff;
  overflow: hidden;
}
.rental-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, #15803D 0%, var(--primary) 50%, #86EFAC 100%);
}
.rental-hero-bg::before {
  content: '';
  position: absolute;
  left: -40px;
  bottom: -60px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.rental-hero-bg::after {
  content: '';
  position: absolute;
  right: -20px;
  top: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
}
.rental-hero-inner { position: relative; z-index: 1; }
.rental-hero-title {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.rental-hero-sub {
  font-size: 13px;
  opacity: 0.88;
}

.rental-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: -32px 16px 16px;
  position: relative;
  z-index: 2;
}
.rental-stats-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}
.rental-stats-4 .rental-stat-item {
  padding: 12px 4px 10px;
}
.rental-stats-4 .rental-stat-num { font-size: 18px; }
.rental-stats-4 .rental-stat-label { font-size: 11px; }
.rental-stat-icon-unpaid { background: #FEF2F2; color: #DC2626; }
.rental-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 16px 8px 14px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s, box-shadow 0.15s;
}
.rental-stat-item.is-active {
  box-shadow: 0 6px 20px rgba(50, 193, 94, 0.22);
  transform: translateY(-2px);
}
.rental-stat-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  margin-bottom: 4px;
}
.rental-stat-icon-active { background: var(--primary-light); color: var(--primary-dark); }
.rental-stat-icon-pending { background: #FFF7ED; color: #EA580C; }
.rental-stat-icon-done { background: #ECFDF5; color: #059669; }
.rental-stat-fa { font-size: 22px; line-height: 1; }
.rental-stat-svg { width: 28px; height: 28px; display: block; }
.rental-stat-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}
.rental-stat-label {
  font-size: 12px;
  color: var(--text-muted);
}

.rental-tabs {
  display: flex;
  gap: 8px;
  margin: 0 16px 16px;
  padding: 4px;
  background: rgba(255,255,255,0.85);
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(50, 193, 94, 0.1);
}
.rental-tabs-4 .rental-tab {
  font-size: 12px;
  padding: 8px 2px;
}
.rental-tab {
  flex: 1;
  text-align: center;
  padding: 10px 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
  border-radius: 10px;
  text-decoration: none;
  position: relative;
}
.rental-tab.active {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(236, 72, 153, 0.35);
}
.rental-tab em {
  display: inline-block;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  margin-left: 4px;
  font-style: normal;
  font-size: 10px;
  font-weight: 700;
  line-height: 16px;
  border-radius: 8px;
  background: #fff;
  color: var(--primary-dark);
  vertical-align: middle;
}
.rental-tab.active em {
  background: rgba(255,255,255,0.25);
  color: #fff;
}

.rental-list {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.rental-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.rental-card-overdue {
  border: 1px solid rgba(245, 34, 45, 0.25);
}
.rental-card-link {
  display: flex;
  gap: 14px;
  padding: 14px;
  color: inherit;
  text-decoration: none;
}
.rental-card-cover-wrap {
  position: relative;
  flex-shrink: 0;
  width: 88px;
}
.rental-card-cover {
  width: 88px;
  height: 118px;
  object-fit: cover;
  border-radius: 10px;
  background: #f3f4f6;
}
.rental-badge {
  position: absolute;
  left: 0;
  top: 0;
  padding: 3px 8px;
  font-size: 10px;
  font-weight: 600;
  border-radius: 10px 0 10px 0;
  color: #fff;
  line-height: 1.3;
}
.rental-badge.is-active { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); }
.rental-badge.is-pending { background: linear-gradient(135deg, #F97316, #EA580C); }
.rental-badge.is-unpaid { background: linear-gradient(135deg, #EF4444, #DC2626); }
.rental-badge.is-ship { background: linear-gradient(135deg, #3B82F6, #2563EB); }
.rental-badge.is-overdue { background: linear-gradient(135deg, #EF4444, #DC2626); }
.rental-badge.is-done { background: linear-gradient(135deg, #10B981, #059669); }

.rental-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.rental-card-title {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.rental-card-brand {
  font-size: 12px;
  color: var(--text-muted);
}
.rental-card-style {
  font-size: 11px;
  color: var(--primary-dark);
  background: var(--primary-light);
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  align-self: flex-start;
}
.rental-card-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 6px;
}
.rental-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-secondary);
}
.rental-meta-fa {
  font-size: 14px;
  width: 16px;
  text-align: center;
  flex-shrink: 0;
  color: var(--primary);
}
.rental-meta-svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--primary);
}
.rental-code {
  font-size: 12px;
  color: var(--text-secondary);
}
.rental-code strong {
  font-size: 15px;
  letter-spacing: 2px;
  color: var(--primary-dark);
  font-weight: 700;
}
.rental-card-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.45;
}
.rental-card-hint strong { color: #EA580C; }

.rental-progress {
  height: 4px;
  background: #F3F4F6;
  border-radius: 2px;
  overflow: hidden;
  margin-top: 8px;
}
.rental-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), #F472B6);
  border-radius: 2px;
  transition: width 0.3s;
}
.rental-card-overdue .rental-progress-bar {
  background: linear-gradient(90deg, #EF4444, #F87171);
}
.rental-progress-label {
  font-size: 11px;
  color: var(--text-secondary);
  margin-top: 4px;
}
.rental-card-date,
.rental-card-fee {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}
.rental-card-fee { color: var(--primary-dark); font-weight: 600; }

.rental-card-actions {
  display: flex;
  gap: 8px;
  padding: 0 14px 14px;
  border-top: 1px solid #FAFAFA;
  padding-top: 12px;
  margin-top: 0;
}
.rental-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 600;
  border-radius: 22px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.15s;
}
.rental-btn:active { opacity: 0.85; }
.rental-btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}
.rental-btn-ghost {
  background: var(--primary-light);
  color: var(--primary-dark);
}
.rental-btn-danger {
  background: linear-gradient(135deg, #EF4444, #DC2626);
  color: #fff;
}
.rental-btn-pay {
  background: linear-gradient(135deg, #F97316, #EA580C);
  color: #fff;
}
.rental-unpaid-fee {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  color: #ea580c;
}
.rental-unpaid-fee strong { font-size: 15px; }
.rental-card-hint-pay { color: #b45309 !important; }

.rental-empty {
  text-align: center;
  padding: 48px 24px 32px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.rental-empty-icon {
  width: 88px;
  height: 88px;
  margin: 0 auto 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-light);
  color: var(--primary-dark);
}
.rental-empty-icon i { font-size: 36px; line-height: 1; }
.rental-empty-icon.is-green { background: var(--primary-light); color: var(--primary-dark); }
.rental-empty-icon.is-orange { background: #FFF7ED; color: #EA580C; }
.rental-empty-icon.is-teal { background: #ECFDF5; color: #059669; }
.rental-empty-svg {
  width: 100px;
  height: 100px;
  margin: 0 auto 16px;
  display: block;
}
.rental-empty h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}
.rental-empty p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
}
.rental-empty-btn {
  display: inline-block;
  padding: 12px 32px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 24px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(50, 193, 94, 0.35);
}

/* ===== 服务页通用（消息/积分/续租/逾期/收藏） ===== */
.svc-page {
  background: var(--bg);
  padding-bottom: calc(24px + var(--tab-bar-clearance));
}
.svc-page.no-tab,
.svc-page:has(.svc-subhead) {
  padding-bottom: calc(24px + var(--safe-bottom));
}
.svc-hero {
  position: relative;
  padding: calc(16px + var(--safe-top)) 20px 40px;
  color: #fff;
  overflow: hidden;
}
.svc-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(155deg, #15803D 0%, var(--primary) 55%, #86EFAC 100%);
}
.svc-hero-inner { position: relative; z-index: 1; }
.svc-hero-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  color: #fff;
  text-decoration: none;
}
.svc-hero-title { font-size: 22px; font-weight: 700; }
.svc-hero-head { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.svc-hero-badge {
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
  font-size: 12px;
}
.svc-subhead {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: calc(12px + var(--safe-top)) 16px 12px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}
.svc-subhead-back {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  text-decoration: none;
}
.svc-subhead h1 { flex: 1; font-size: 17px; font-weight: 600; text-align: center; margin-right: 36px; }
.svc-subhead-back { flex-shrink: 0; }
.svc-section-title {
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 12px;
  color: var(--text);
}
.svc-section-title.inline { display: flex; align-items: center; gap: 8px; }
.svc-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.svc-section-more { font-size: 13px; color: var(--primary); text-decoration: none; }
.svc-empty {
  text-align: center;
  padding: 40px 20px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.svc-empty.compact { padding: 28px 16px; }
.svc-empty.success-tone { background: linear-gradient(180deg, #fff, #F0FDF4); }
.svc-empty .svc-icon-svg,
.svc-empty .svc-empty-svg { width: 72px; height: 72px; margin: 0 auto 12px; color: var(--primary); }
.svc-empty h3 { font-size: 16px; margin-bottom: 8px; }
.svc-empty p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.svc-empty-btn {
  display: inline-block;
  padding: 11px 28px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 22px;
  text-decoration: none;
}
.svc-tip-card {
  display: flex;
  gap: 12px;
  align-items: center;
  margin: 16px;
  padding: 14px 16px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
}
.svc-tip-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary-dark);
}
.svc-tip-icon .svc-icon-svg { width: 24px; height: 24px; }
.svc-icon-svg { width: 28px; height: 28px; display: block; }
.svc-empty-svg { width: 88px; height: 88px; display: block; margin: 0 auto; }

/* 消息中心 */
.msg-read-all {
  margin-top: 12px;
  border: 1px solid rgba(255,255,255,0.35);
  background: rgba(255,255,255,0.12);
  color: #fff;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
}
.msg-cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: -24px 16px 14px;
  position: relative;
  z-index: 2;
}
.msg-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 16px 8px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
}
.msg-cat-card.is-active { box-shadow: 0 6px 18px rgba(236,72,153,0.2); }
.msg-cat-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
}
.msg-cat-icon .svc-icon-svg,
.msg-card-icon .svc-icon-svg {
  width: 26px;
  height: 26px;
}
.msg-cat-icon-system {
  background: linear-gradient(145deg, #EFF6FF 0%, #DBEAFE 100%);
  color: #1D4ED8;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}
.msg-cat-icon-rental {
  background: linear-gradient(145deg, #F0FDF4 0%, #DCFCE7 100%);
  color: #15803D;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}
.msg-cat-icon-activity {
  background: linear-gradient(145deg, #FFF7ED 0%, #FFEDD5 100%);
  color: #C2410C;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}
.msg-cat-label { font-size: 12px; color: var(--text-secondary); }
.msg-filter-row {
  display: flex;
  gap: 8px;
  padding: 0 16px 12px;
  overflow-x: auto;
}
.msg-filter-tab {
  flex-shrink: 0;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--white);
  color: var(--text-secondary);
  font-size: 12px;
  text-decoration: none;
}
.msg-filter-tab.active {
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
}
.msg-list { padding: 0 16px 16px; display: flex; flex-direction: column; gap: 10px; }
.msg-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
  position: relative;
}
.msg-card.is-unread { background: linear-gradient(180deg, #FFFBFD, #fff); border: 1px solid #FCE7F3; }
.msg-card-icon { width: 44px; height: 44px; flex-shrink: 0; border-radius: 13px; display: flex; align-items: center; justify-content: center; }
.msg-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.msg-card-top { display: flex; justify-content: space-between; gap: 8px; align-items: flex-start; }
.msg-card-title { font-size: 14px; font-weight: 600; line-height: 1.35; }
.msg-card-time { font-size: 11px; color: var(--text-muted); white-space: nowrap; }
.msg-card-tag {
  align-self: flex-start;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--primary-light);
  color: var(--primary-dark);
}
.msg-card-preview { font-size: 12px; color: var(--text-muted); line-height: 1.45; }
.msg-unread-dot {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
}
.msg-detail-page { padding: 16px; }
.msg-detail-card {
  background: var(--white);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
}
.msg-detail-head { display: flex; gap: 14px; margin-bottom: 16px; }
.msg-detail-title { font-size: 18px; line-height: 1.4; margin: 6px 0; }
.msg-detail-time { font-size: 12px; color: var(--text-muted); }
.msg-detail-content { font-size: 14px; line-height: 1.85; color: var(--text-secondary); }
.msg-detail-back { display: block; text-align: center; margin-top: 16px; font-size: 14px; }

/* 积分页 */
.points-hero-label { font-size: 13px; opacity: 0.9; }
.points-hero-value { font-size: 44px; font-weight: 700; line-height: 1.1; margin: 6px 0 10px; }
.points-hero-link { font-size: 13px; color: rgba(255,255,255,0.92); text-decoration: none; }
.points-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin: -28px 16px 16px;
  position: relative;
  z-index: 2;
}
.points-quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 6px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text);
  font-size: 11px;
  text-align: center;
}
.points-quick-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}
.points-quick-icon.tone-blue { background: #EFF6FF; color: #2563EB; }
.points-quick-icon.tone-pink { background: #FCE7F3; color: var(--primary-dark); }
.points-quick-icon.tone-gold { background: #FFF7ED; color: #EA580C; }
.points-quick-icon.tone-green { background: #ECFDF5; color: #059669; }
.points-task-section,
.svc-mall-section { padding: 0 16px 16px; }
.points-task-list { display: flex; flex-direction: column; gap: 10px; }
.points-task-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.points-task-icon {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary-dark);
}
.points-task-body { flex: 1; min-width: 0; }
.points-task-body strong { display: block; font-size: 14px; margin-bottom: 2px; }
.points-task-body p { font-size: 12px; color: var(--text-muted); }
.points-task-btn,
.points-task-btn.done {
  padding: 8px 14px;
  border-radius: 18px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.points-task-btn { background: var(--primary-light); color: var(--primary-dark); }
.points-task-btn.done { background: #F3F4F6; color: var(--text-muted); cursor: default; }
.points-logs-page { background: var(--bg); min-height: 100vh; }
.points-logs-list { padding: 16px; }
.points-log-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #F3F4F6;
  background: var(--white);
  padding-left: 14px;
  padding-right: 14px;
  margin-bottom: 8px;
  border-radius: 12px;
}
.points-log-row strong { display: block; font-size: 14px; margin-bottom: 4px; }
.points-log-row time { font-size: 12px; color: var(--text-muted); }
.points-log-change { font-size: 16px; font-weight: 700; color: var(--text-muted); }
.points-log-change.plus { color: var(--primary-dark); }
.points-mall-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
.points-product-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  padding-bottom: 10px;
}
.points-product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  background: #f3f4f6;
}
.points-product-card .title { font-size: 13px; padding: 8px 10px 4px; line-height: 1.35; }
.points-product-card .cost { font-size: 12px; color: var(--primary-dark); font-weight: 600; padding: 0 10px; }
.points-mall-empty { text-align: center; padding: 24px; color: var(--text-muted); font-size: 13px; }

/* 续租 / 逾期 / 收藏 */
.renew-page .renew-body {
  padding: 12px 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.renew-page .renew-tip {
  margin: 0;
}
.renew-page .renew-tip p {
  margin: 0;
  flex: 1;
}
.renew-page .renew-tip strong {
  color: var(--primary-dark);
  font-weight: 700;
}
.renew-page .renew-list {
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.renew-page .svc-empty {
  margin: 0;
  padding: 44px 24px 36px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.renew-page .svc-empty .svc-icon-svg {
  width: 64px;
  height: 64px;
  margin: 0 0 16px;
  color: var(--primary);
}
.renew-page .svc-empty h3 {
  width: 100%;
  text-align: center;
}
.renew-page .svc-empty p {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
}
.renew-page .svc-empty-btn {
  min-width: 168px;
}
.overdue-page .overdue-section,
.fav-page .fav-list { padding: 0 16px 16px; }
.overdue-page .overdue-fine-banner:first-of-type { margin-top: 12px; }
.renew-card,
.overdue-card,
.fav-card {
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.renew-card.is-overdue { border: 1px solid rgba(239,68,68,0.25); }
.renew-card-main { display: flex; gap: 12px; padding: 14px; }
.renew-card-cover,
.overdue-card-cover,
.fav-card-cover {
  width: 72px;
  height: 96px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  background: #f3f4f6;
}
.renew-card-body { flex: 1; min-width: 0; }
.renew-card-body h3,
.overdue-card-body h3,
.fav-card-body h3 { font-size: 15px; margin-bottom: 4px; }
.renew-card-brand,
.overdue-card-brand,
.fav-card-body p { font-size: 12px; color: var(--text-muted); }
.renew-card-style { font-size: 11px; color: var(--primary-dark); margin-top: 4px; }
.renew-card-due,
.renew-card-meta { font-size: 12px; color: var(--text-secondary); margin-top: 6px; }
.renew-card-alert { font-size: 12px; color: #DC2626; margin-top: 6px; }
.rental-progress.compact { margin-top: 8px; height: 4px; }
.renew-card-actions {
  display: flex;
  gap: 8px;
  padding: 0 14px 14px;
}
.renew-card-disabled { font-size: 12px; color: var(--text-muted); padding: 10px 0; flex: 1; text-align: center; }
.overdue-section { margin-bottom: 16px; }
.overdue-section-icon { width: 28px; height: 28px; color: #DC2626; display: inline-flex; }
.overdue-fine-banner {
  margin: 16px;
  padding: 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  text-align: center;
}
.overdue-fine-label { font-size: 13px; opacity: 0.9; }
.overdue-fine-amount { font-size: 34px; font-weight: 700; margin: 8px 0 14px; }
.overdue-list { display: flex; flex-direction: column; gap: 10px; }
.overdue-card { display: flex; gap: 12px; padding: 14px; }
.overdue-fine-list {
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 4px 14px;
}
.overdue-fine-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid #F3F4F6;
  font-size: 13px;
}
.overdue-fine-row:last-child { border-bottom: none; }
.overdue-fine-row strong { color: var(--primary-dark); }
.fav-list { display: flex; flex-direction: column; gap: 10px; }
.fav-card { display: flex; align-items: stretch; }
.fav-card-link { display: flex; gap: 12px; flex: 1; padding: 14px; color: inherit; text-decoration: none; }
.fav-card-body time { display: block; font-size: 11px; color: var(--text-muted); margin-top: 6px; }
.fav-remove-btn {
  align-self: center;
  margin-right: 12px;
  border: none;
  background: #FEF2F2;
  color: #DC2626;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}
.notify-page { padding-bottom: 24px; }
.notify-card {
  margin: 16px;
  padding: 16px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.notify-intro { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 8px; }
.notify-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid #F3F4F6;
  font-size: 14px;
}
.notify-row:last-of-type { border-bottom: none; }
.notify-save { width: 100%; margin-top: 16px; border: none; cursor: pointer; }
.points-rules-list {
  margin: 0;
  padding-left: 18px;
  line-height: 2;
  font-size: 14px;
  color: var(--text-secondary);
}

/* ===== 收银台 ===== */
.pay-page {
  background: var(--bg);
  min-height: 100vh;
  padding-bottom: calc(88px + var(--safe-bottom));
}
.pay-page-inner { padding: 12px 16px 16px; }
.pay-order-card {
  background: var(--white);
  border-radius: 16px;
  padding: 18px;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
}
.pay-order-head { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; }
.pay-order-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--primary-light);
  color: var(--primary-dark);
}
.pay-order-icon .svc-icon-svg { width: 26px; height: 26px; }
.pay-order-head-text { flex: 1; min-width: 0; }
.pay-order-type { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.pay-order-badge {
  display: inline-block;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  background: var(--primary-light);
  color: var(--primary-dark);
  margin-right: 6px;
  margin-top: 4px;
}
.pay-order-badge-card { background: #ECFDF5; color: #059669; }
.pay-order-badge-muted { background: #F3F4F6; color: var(--text-muted); }
.pay-amount-block { text-align: center; padding: 16px 0; border-top: 1px solid #F9FAFB; border-bottom: 1px solid #F9FAFB; }
.pay-amount-label { font-size: 13px; color: var(--text-muted); }
.pay-amount { font-size: 40px; font-weight: 700; color: var(--primary-dark); line-height: 1.1; margin-top: 4px; }
.pay-amount small { font-size: 22px; margin-right: 2px; }
.pay-order-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  font-size: 12px;
}
.pay-order-meta-label { color: var(--text-muted); flex-shrink: 0; }
.pay-order-no { color: var(--text-secondary); word-break: break-all; text-align: right; }
.pay-panel {
  background: var(--white);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
}
.pay-section-title { font-size: 15px; font-weight: 600; margin-bottom: 12px; }
.pay-method-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid #F3F4F6;
}
.pay-method-item.is-selected { border-color: #07C160; background: #F0FDF4; }
.pay-method-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 20px;
}
.pay-method-icon.wechat { background: #07C160; color: #fff; }
.pay-method-name { flex: 1; font-size: 15px; font-weight: 500; }
.pay-method-check { color: #07C160; font-size: 18px; }
.pay-hint {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 1.5;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}
.pay-hint-dev { background: #EFF6FF; color: #2563EB; }
.pay-hint-warn { background: #FFF7ED; color: #C2410C; }
.pay-success-card {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 20px;
  text-align: center;
  box-shadow: var(--shadow);
}
.pay-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.pay-success-card h2 { font-size: 18px; margin-bottom: 8px; }
.pay-success-card p { font-size: 13px; color: var(--text-muted); margin-bottom: 16px; }
.pay-footer-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 10px 16px calc(10px + var(--safe-bottom));
  box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
}
.pay-footer-inner { display: flex; align-items: center; gap: 12px; max-width: 480px; margin: 0 auto; }
.pay-footer-left { flex: 1; min-width: 0; }
.pay-footer-label { font-size: 12px; color: var(--text-muted); display: block; }
.pay-footer-amount { font-size: 22px; font-weight: 700; color: var(--primary-dark); }
.pay-footer-btn {
  flex-shrink: 0;
  min-width: 128px;
  padding: 12px 20px;
  border: none;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
}

/* ===== 骑行活动 ===== */
.activity-index-page { padding-bottom: calc(24px + var(--tab-bar-clearance)); }
.activity-hero-bar { padding-bottom: 36px; }
.activity-hero-bar .svc-hero-sub { font-size: 13px; opacity: 0.88; margin-top: 4px; }
.activity-hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -24px 16px 14px;
  padding: 18px 16px;
  background: var(--white);
  border-radius: 16px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 2;
}
.activity-hero-text h2 { font-size: 17px; margin-bottom: 6px; }
.activity-hero-text p { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.activity-hero-link { font-size: 13px; color: var(--primary); text-decoration: none; font-weight: 600; }
.activity-hero-deco {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary-dark);
}
.activity-hero-deco .svc-icon-svg { width: 32px; height: 32px; }
.activity-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 0 16px 16px;
}
.activity-quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 6px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: var(--text);
  font-size: 11px;
  text-align: center;
}
.activity-quick-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
}
.activity-section { padding: 0 16px 16px; }
.activity-my-body { padding: 12px 16px 20px; }
.activity-filter-row { padding-top: 8px; }
.activity-card-list { display: flex; flex-direction: column; gap: 10px; }
.activity-card {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: var(--white);
  border-radius: 14px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
}
.activity-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
  background: #f3f4f6;
}
.activity-card-body { flex: 1; min-width: 0; }
.activity-card-body h4 { font-size: 14px; line-height: 1.35; margin-bottom: 6px; }
.activity-card-body p { font-size: 12px; color: var(--text-muted); display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.activity-tag {
  display: inline-block;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
}
.activity-detail-page { padding-bottom: 24px; }
.activity-detail-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #f3f4f6;
}
.activity-detail-body { padding: 16px; }
.activity-detail-title { font-size: 20px; margin-bottom: 10px; line-height: 1.35; }
.activity-detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.activity-detail-content {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
  margin-bottom: 20px;
}
.activity-detail-btn { width: 100%; border: none; cursor: pointer; padding: 14px; }

/* ===== 骑行活动 V2 ===== */
.activity-v2-page {
  background: var(--bg);
  padding-bottom: calc(16px + var(--tab-bar-clearance));
}
.activity-v2-hero {
  position: relative;
  margin: 12px var(--page-gutter) 16px;
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 343 / 160;
  box-shadow: 0 8px 24px rgba(50, 193, 94, 0.18);
}
.activity-v2-hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scaleX(-1);
}
.activity-v2-hero-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.72) 34%, rgba(255,255,255,0.12) 56%, transparent 74%);
  pointer-events: none;
}
.activity-v2-hero-content {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  max-width: 62%;
}
.activity-v2-hero-tag {
  display: inline-block;
  margin-bottom: 8px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(50, 193, 94, 0.14);
  color: var(--primary-dark);
  font-size: 11px;
  font-weight: 600;
}
.activity-v2-hero-content h2 {
  font-size: 22px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.2;
  margin-bottom: 6px;
}
.activity-v2-hero-content p {
  font-size: 13px;
  color: #666;
  margin-bottom: 12px;
  line-height: 1.4;
}
.activity-v2-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(50, 193, 94, 0.35);
}
.activity-v2-hero-btn i { font-size: 11px; }
.activity-v2-quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 0 var(--page-gutter) 18px;
}
.activity-v2-quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 4px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
}
.activity-v2-quick-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 18px;
}
.activity-v2-quick-icon.is-blue { background: linear-gradient(135deg, #60a5fa, #3b82f6); }
.activity-v2-quick-icon.is-green { background: linear-gradient(135deg, #4ade80, #22c55e); }
.activity-v2-quick-icon.is-gold { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.activity-v2-quick-icon.is-purple { background: linear-gradient(135deg, #c084fc, #9333ea); }
.activity-v2-quick-label {
  font-size: 11px;
  font-weight: 600;
  color: #333;
  text-align: center;
  line-height: 1.2;
}
.activity-v2-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-gutter) 12px;
}
.activity-v2-section-head h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}
.activity-v2-section-head a {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: 13px;
  color: var(--text-muted);
  text-decoration: none;
}
.activity-v2-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0 var(--page-gutter);
}
.activity-v2-card {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
}
.activity-v2-card-cover {
  position: relative;
  flex-shrink: 0;
  width: 108px;
  height: 88px;
  border-radius: 10px;
  overflow: hidden;
  background: #f3f4f6;
}
.activity-v2-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.activity-v2-card-status {
  position: absolute;
  left: 6px;
  top: 6px;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 600;
  color: #fff;
  background: rgba(0, 0, 0, 0.45);
}
.activity-v2-card-status.is-signup { background: #2563eb; }
.activity-v2-card-status.is-ongoing { background: #16a34a; }
.activity-v2-card-status.is-ended { background: #64748b; }
.activity-v2-card-status.is-default { background: #f59e0b; }
.activity-v2-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.activity-v2-card-body h4 {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.activity-v2-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  font-size: 11px;
  color: var(--text-muted);
  margin: 0 0 4px;
}
.activity-v2-card-meta i { margin-right: 3px; color: var(--primary); font-size: 10px; }
.activity-v2-card-time {
  font-size: 11px;
  color: #999;
  margin: 0 0 8px;
}
.activity-v2-card-time i { margin-right: 4px; }
.activity-v2-card-cta {
  margin-top: auto;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}
.activity-v2-card-cta i { font-size: 10px; margin-left: 2px; }
.activity-v2-empty {
  text-align: center;
  padding: 48px 24px;
  margin: 0 var(--page-gutter);
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  color: var(--text-muted);
}
.activity-v2-empty i {
  font-size: 42px;
  color: var(--primary-light);
  margin-bottom: 10px;
}
.activity-v2-empty-btn {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 20px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.activity-v2-my-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px var(--page-gutter) 0;
  padding: 14px 16px;
  background: linear-gradient(135deg, #ecfdf5 0%, #fff 100%);
  border: 1px solid #bbf7d0;
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
}
.activity-v2-my-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.activity-v2-my-text { flex: 1; min-width: 0; }
.activity-v2-my-text strong {
  display: block;
  font-size: 15px;
  color: #1a1a1a;
  margin-bottom: 2px;
}
.activity-v2-my-text small {
  font-size: 12px;
  color: var(--text-muted);
}
.activity-v2-my-arrow {
  color: #ccc;
  font-size: 12px;
  flex-shrink: 0;
}

/* 活动详情 V2 */
.activity-v2-detail-page {
  background: var(--bg);
  padding-bottom: calc(80px + var(--safe-bottom));
}
.activity-v2-detail-cover {
  position: relative;
  background: #f3f4f6;
}
.activity-v2-detail-cover img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}
.activity-v2-detail-cover .activity-v2-card-status {
  left: auto;
  right: 12px;
  top: 12px;
  padding: 4px 12px;
  font-size: 12px;
}
.activity-v2-detail-main {
  margin: -16px var(--page-gutter) 0;
  padding: 18px 16px;
  background: #fff;
  border-radius: 16px 16px 0 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.04);
}
.activity-v2-detail-main h1 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 14px;
}
.activity-v2-detail-meta {
  list-style: none;
  margin: 0 0 18px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.activity-v2-detail-meta li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}
.activity-v2-detail-meta i {
  width: 18px;
  text-align: center;
  color: var(--primary);
  margin-top: 2px;
  flex-shrink: 0;
}
.activity-v2-detail-content h3 {
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #1a1a1a;
}
.activity-v2-detail-text {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-secondary);
}
.activity-v2-detail-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 210;
  padding: 10px var(--page-gutter) calc(10px + var(--safe-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid var(--border);
  backdrop-filter: blur(8px);
}
.activity-v2-detail-btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(50, 193, 94, 0.35);
}
.activity-v2-detail-btn.is-disabled {
  background: #e5e7eb;
  color: #9ca3af;
  box-shadow: none;
  cursor: not-allowed;
}

.activity-v2-list-page { padding-top: 8px; }
.activity-v2-list--flush { padding-top: 0; }
.activity-v2-filter {
  display: flex;
  gap: 8px;
  padding: 0 var(--page-gutter) 14px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.activity-v2-filter::-webkit-scrollbar { display: none; }
.activity-v2-filter-item {
  flex-shrink: 0;
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
}
.activity-v2-filter-item.is-active {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary-dark);
  font-weight: 600;
}

/* ===== 自行车租赁 · 新版页面组件 ===== */

/* 首页 · 设计稿复刻 */
.home-page {
  background: #FFFFFF;
  padding-bottom: 8px;
}
.home-header-block {
  padding: calc(8px + var(--safe-top)) var(--page-gutter) 12px;
  background: #FFFFFF;
}
.home-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.home-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.home-brand-logo {
  width: 28px;
  height: 28px;
  color: var(--primary);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-brand-logo svg { width: 26px; height: 26px; display: block; }
.home-brand-name {
  font-size: 18px;
  font-weight: 700;
  color: #1A1A1A;
  letter-spacing: 0.02em;
}
.home-top-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.home-location {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  border: none;
  background: transparent;
  font-size: 14px;
  color: #333333;
  cursor: pointer;
  max-width: 132px;
}
.home-loc-icon { font-size: 13px; color: var(--primary); flex-shrink: 0; }
.home-location-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  line-height: 1.2;
}
.home-location-text span,
.home-location-text #homeStoreLabel {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
}
.home-location-text small,
.home-location-text #homeStoreDist {
  font-size: 10px;
  color: var(--primary);
  font-weight: 500;
}
.home-loc-arrow { font-size: 10px; color: #999999; margin-left: 2px; }
.home-msg-btn {
  position: relative;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333333;
  text-decoration: none;
}
.home-msg-btn svg { width: 24px; height: 24px; display: block; }
.home-msg-badge {
  position: absolute;
  top: -2px;
  right: -4px;
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 7px;
  background: #FF5722;
  color: #fff;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.home-search {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 10px 14px;
  background: #F5F5F5;
  border-radius: 20px;
  color: #BBBBBB;
  font-size: 14px;
  text-decoration: none;
  box-shadow: none;
}
.home-search i { color: #CCCCCC; font-size: 15px; }

.home-hero-carousel {
  position: relative;
  margin: 0 var(--page-gutter) 18px;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 343 / 160;
  background: #E8F8ED;
}
.home-hero-track { position: relative; width: 100%; height: 100%; }
.home-hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}
.home-hero-slide.is-active { opacity: 1; pointer-events: auto; }
.home-hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.94) 0%, rgba(255,255,255,0.72) 32%, rgba(255,255,255,0.18) 52%, transparent 72%);
  pointer-events: none;
  z-index: 1;
}
.home-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transform: scaleX(-1);
}
.home-hero-copy {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  max-width: 58%;
}
.home-hero-line1 {
  font-size: 22px;
  font-weight: 800;
  color: #1A1A1A;
  line-height: 1.2;
  margin-bottom: 4px;
}
.home-hero-line2 {
  font-size: 22px;
  font-weight: 800;
  color: #1A1A1A;
  line-height: 1.2;
  margin-bottom: 14px;
}
.home-hero-btn {
  display: inline-block;
  padding: 8px 20px;
  background: var(--primary);
  color: #FFFFFF;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(50, 193, 94, 0.35);
}
.home-hero-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  display: flex;
  justify-content: center;
  gap: 6px;
  z-index: 3;
}
.home-hero-dot {
  width: 6px;
  height: 6px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}
.home-hero-dot.is-active {
  width: 16px;
  border-radius: 3px;
  background: #2196F3;
}

.home-quick-nav {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  padding: 4px var(--page-gutter) 20px;
}
.home-quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #333333;
}
.home-quick-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 18px;
}
.home-quick-icon--green { background: linear-gradient(145deg, #5FD47A, #32C15E); }
.home-quick-icon--gold { background: linear-gradient(145deg, #FFD54F, #FFB300); }
.home-quick-icon--red { background: linear-gradient(145deg, #FF8A65, #FF5722); }
.home-quick-icon--blue { background: linear-gradient(145deg, #64B5F6, #2196F3); }
.home-quick-icon--purple { background: linear-gradient(145deg, #BA68C8, #9C27B0); }
.home-quick-label { font-size: 12px; color: #333333; line-height: 1.2; }

.home-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--page-gutter) 12px;
}
.home-section-head h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1A1A1A;
}
.home-section-head a {
  font-size: 13px;
  color: #999999;
  text-decoration: none;
}
.home-section-head--promo { padding-top: 4px; }

.home-hot-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 0 var(--page-gutter) 20px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
}
.home-hot-scroll::-webkit-scrollbar { display: none; }
.home-hot-card {
  flex: 0 0 108px;
  scroll-snap-align: start;
  text-decoration: none;
  color: inherit;
  background: #FFFFFF;
  border: 1px solid #F0F0F0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(50, 193, 94, 0.12);
  touch-action: manipulation;
}
.home-hot-cover {
  position: relative;
  width: 100%;
  height: 82px;
  background: #F8F8F8;
}
.home-hot-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-hot-tag {
  position: absolute;
  top: 6px;
  left: 6px;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.3;
}
.home-hot-tag.is-featured { background: var(--primary); }
.home-hot-tag.is-hot { background: var(--price-orange); }
.home-hot-name {
  padding: 8px 8px 2px;
  font-size: 13px;
  font-weight: 600;
  color: #333333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.home-hot-price {
  padding: 0 8px 10px;
  font-size: 11px;
  color: var(--price-orange);
}
.home-hot-price strong {
  font-size: 15px;
  font-weight: 700;
  font-style: normal;
}

.home-promo-banner {
  display: flex;
  margin: 0 var(--page-gutter) 12px;
  padding: 16px 18px;
  border-radius: 12px;
  background: linear-gradient(90deg, #32C15E 0%, #26A69A 55%, #29B6F6 100%);
  align-items: center;
  justify-content: space-between;
  overflow: hidden;
  min-height: 88px;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.home-promo-content { flex: 1; min-width: 0; }
.home-promo-title {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 10px;
  line-height: 1.3;
}
.home-promo-timer {
  display: flex;
  align-items: center;
  gap: 4px;
}
.home-promo-timer-box {
  display: inline-flex;
  min-width: 26px;
  height: 26px;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.22);
  color: #FFFFFF;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}
.home-promo-timer-sep {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  font-size: 14px;
}
.home-promo-bike {
  width: 88px;
  height: 64px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  opacity: 0.95;
}
.home-promo-bike svg { width: 100%; height: auto; display: block; }

.tab-bar-inner-5 { padding: 0 4px; }
.tab-item.active .tab-label { color: var(--tab-icon-active); font-weight: 600; }
.tab-item.active .tab-icon-wrap .tab-svg { color: var(--tab-icon-active); }
.tab-item-cart { position: relative; }
.tab-cart-badge {
  position: absolute;
  top: 0;
  right: calc(50% - 20px);
  min-width: 14px;
  height: 14px;
  padding: 0 3px;
  border-radius: 7px;
  background: #FF5722;
  color: #fff;
  font-size: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* 分类页 v2 */
.cat-page-header {
  display: flex; align-items: center; justify-content: center;
  position: relative;
  padding: calc(12px + var(--safe-top)) 16px 12px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.cat-page-title { font-size: 17px; font-weight: 600; }
.cat-page-search {
  position: absolute; right: 16px;
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text);
  font-size: 18px;
}
.category-layout-v2 { min-height: calc(100vh - 48px - var(--tab-bar-clearance)); }
.category-sidebar-v2 { width: 82px; background: #F9FAFB; }
.category-sidebar-v2 a {
  padding: 16px 8px;
  font-size: 12px;
  line-height: 1.3;
}
.category-content-v2 { padding: 12px; background: var(--bg); }
.cat-promo-banner {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary-light), #fff);
  border: 1px solid rgba(34,197,94,0.15);
}
.cat-promo-text h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.cat-promo-text p { font-size: 12px; color: var(--text-muted); }
.cat-promo-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
}
.cat-list-card {
  display: flex; align-items: center; gap: 12px;
  padding: 14px;
  margin-bottom: 10px;
  background: var(--white);
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-decoration: none;
  color: inherit;
}
.cat-list-img {
  width: 56px; height: 56px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  flex-shrink: 0;
}
.cat-list-info { flex: 1; min-width: 0; }
.cat-list-info h4 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.cat-list-info p { font-size: 12px; color: var(--text-muted); margin-bottom: 4px; }
.cat-list-count { font-size: 11px; color: var(--primary); }
.cat-list-arrow { color: #ccc; font-size: 12px; }

/* 商品列表 */
.product-list-page { background: var(--bg); padding-bottom: 24px; }
.product-list-nav .title { margin-right: 0; }
.product-list-title { display: inline-flex; align-items: center; gap: 4px; font-size: 16px; }
.product-list-title i { font-size: 11px; opacity: 0.5; }
.product-filter-bar {
  display: flex;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 8px;
}
.product-filter-bar a {
  flex: 1;
  text-align: center;
  padding: 12px 4px;
  font-size: 13px;
  color: var(--text-secondary);
  text-decoration: none;
}
.product-filter-bar a.active { color: var(--primary); font-weight: 600; }
.product-filter-more { flex: 0 0 auto !important; padding: 12px 12px !important; color: var(--text-muted) !important; }
.product-list-wrap { padding: 12px var(--page-gutter); }
.product-list-card {
  display: flex; align-items: flex-end; gap: 0;
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 12px;
  padding: 12px;
  box-shadow: var(--shadow);
  position: relative;
}
.product-list-main { display: flex; gap: 12px; flex: 1; text-decoration: none; color: inherit; min-width: 0; }
.product-list-cover { position: relative; flex-shrink: 0; }
.product-list-cover img {
  width: 100px; height: 80px;
  object-fit: cover;
  border-radius: 8px;
  background: #f3f4f6;
}
.product-hot-tag {
  position: absolute; top: 4px; left: 4px;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10px;
  background: var(--red);
  color: #fff;
}
.product-list-meta { flex: 1; min-width: 0; padding-bottom: 4px; }
.product-list-meta h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.product-specs { font-size: 11px; color: var(--text-muted); margin-bottom: 8px; }
.product-price { font-size: 18px; font-weight: 700; color: var(--red); }
.product-price span { font-size: 12px; font-weight: 400; }
.product-cart-btn {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
  cursor: pointer;
  flex-shrink: 0;
  text-decoration: none;
  margin-left: 8px;
}

/* 押金管理 */
.deposit-page { background: var(--bg); min-height: 100vh; padding-bottom: 32px; }
.deposit-nav .title { flex: 1; text-align: center; margin-right: 0; }
.deposit-nav-link {
  position: absolute; right: 16px;
  font-size: 13px; color: var(--primary);
  text-decoration: none;
}
.deposit-card {
  margin: 16px;
  padding: 24px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, #22C55E 0%, #16A34A 50%, #15803D 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.deposit-card-top { display: flex; justify-content: space-between; align-items: flex-start; }
.deposit-card-label { font-size: 13px; opacity: 0.9; margin-bottom: 8px; }
.deposit-card-amount { font-size: 40px; font-weight: 700; margin-bottom: 8px; }
.deposit-card-sub { font-size: 12px; opacity: 0.85; }
.deposit-card-icon {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
}
.deposit-status-badge {
  display: inline-block;
  margin-top: 16px;
  padding: 4px 14px;
  border-radius: 20px;
  background: rgba(255,255,255,0.25);
  font-size: 12px;
}
.deposit-status-warn { background: rgba(251,191,36,0.4); }
.deposit-features {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 8px; margin: 0 16px 16px;
}
.deposit-feature-item {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px 8px;
  background: var(--white);
  border-radius: 12px;
  font-size: 12px;
  color: var(--text-secondary);
}
.deposit-feature-icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.deposit-info-card {
  margin: 0 16px 20px;
  padding: 16px;
  background: var(--white);
  border-radius: 12px;
}
.deposit-info-card h3 { font-size: 15px; margin-bottom: 12px; }
.deposit-info-card ol { padding-left: 18px; font-size: 13px; color: var(--text-secondary); line-height: 1.8; }
.deposit-action-btn {
  display: block;
  margin: 0 16px;
  width: calc(100% - 32px);
  padding: 14px;
  border: none;
  border-radius: 24px;
  background: var(--primary);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}
.deposit-action-disabled { opacity: 0.7; cursor: default; }
.deposit-pending {
  margin: 0 16px;
  text-align: center;
  padding: 14px;
  color: var(--orange);
  font-size: 13px;
}
.deposit-faq-link {
  display: block;
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
}
.deposit-empty { text-align: center; padding: 60px 20px; color: var(--text-muted); }

/* ===== 押金明细 V2 ===== */
.deposit-logs-v2-page {
  background: #f5f7f6;
  min-height: 100vh;
  padding-bottom: calc(24px + var(--safe-bottom));
}
.deposit-logs-v2-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 48px;
  padding: 0 var(--page-gutter);
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  position: sticky;
  top: 0;
  z-index: 20;
}
.deposit-logs-v2-back {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #333;
  text-decoration: none;
  font-size: 16px;
}
.deposit-logs-v2-head h1 {
  flex: 1;
  text-align: center;
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
}
.deposit-logs-v2-head-spacer { width: 36px; flex-shrink: 0; }
.deposit-logs-v2-summary {
  margin: 12px var(--page-gutter) 14px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #22C55E 0%, #16A34A 55%, #15803D 100%);
  color: #fff;
  box-shadow: 0 10px 28px rgba(50, 193, 94, 0.25);
}
.deposit-logs-v2-balance {
  padding: 20px 18px 16px;
  position: relative;
}
.deposit-logs-v2-balance::after {
  content: '';
  position: absolute;
  right: -20px;
  top: -20px;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.deposit-logs-v2-balance-label {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 6px;
}
.deposit-logs-v2-balance-amount {
  font-size: 36px;
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 6px;
}
.deposit-logs-v2-balance-sub {
  font-size: 12px;
  opacity: 0.88;
}
.deposit-logs-v2-stats {
  display: flex;
  align-items: stretch;
  background: rgba(0, 0, 0, 0.12);
  padding: 12px 0;
}
.deposit-logs-v2-stat {
  flex: 1;
  text-align: center;
  padding: 0 8px;
}
.deposit-logs-v2-stat strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}
.deposit-logs-v2-stat span {
  font-size: 11px;
  opacity: 0.85;
}
.deposit-logs-v2-stat-divider {
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
  align-self: stretch;
}
.deposit-logs-v2-tabs {
  display: flex;
  gap: 8px;
  padding: 0 var(--page-gutter) 12px;
}
.deposit-logs-v2-tab {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  border-radius: 999px;
  background: #fff;
  color: #666;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border: 1px solid #eee;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.deposit-logs-v2-tab.active {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary-dark);
}
.deposit-logs-v2-list {
  padding: 0 var(--page-gutter);
}
.deposit-logs-v2-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  margin-bottom: 10px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.deposit-logs-v2-item-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.deposit-logs-v2-item-icon.is-pay {
  background: var(--primary-light);
  color: var(--primary-dark);
}
.deposit-logs-v2-item-icon.is-refund {
  background: #fff7ed;
  color: #ea580c;
}
.deposit-logs-v2-item-body {
  flex: 1;
  min-width: 0;
}
.deposit-logs-v2-item-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}
.deposit-logs-v2-item-top strong {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
}
.deposit-logs-v2-status {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
  flex-shrink: 0;
}
.deposit-logs-v2-status.is-done {
  background: var(--primary-light);
  color: var(--primary-dark);
}
.deposit-logs-v2-status.is-pending {
  background: #fef3c7;
  color: #b45309;
}
.deposit-logs-v2-status.is-reject {
  background: #fee2e2;
  color: #b91c1c;
}
.deposit-logs-v2-item-time {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.deposit-logs-v2-item-time i { margin-right: 4px; font-size: 11px; }
.deposit-logs-v2-item-order {
  font-size: 11px;
  color: #aaa;
  word-break: break-all;
}
.deposit-logs-v2-item-amount {
  flex-shrink: 0;
  font-size: 17px;
  font-weight: 800;
  white-space: nowrap;
}
.deposit-logs-v2-item-amount.is-plus { color: var(--primary-dark); }
.deposit-logs-v2-item-amount.is-minus { color: #ea580c; }
.deposit-logs-v2-item-amount.is-pending-amt { color: #b45309; }
.deposit-logs-v2-list-empty,
.deposit-logs-v2-empty {
  text-align: center;
  padding: 48px 20px;
  color: var(--text-muted);
}
.deposit-logs-v2-list-empty i,
.deposit-logs-v2-empty i {
  font-size: 48px;
  color: #d1d5db;
  margin-bottom: 14px;
}
.deposit-logs-v2-list-empty p,
.deposit-logs-v2-empty p {
  font-size: 16px;
  font-weight: 600;
  color: #666;
  margin-bottom: 6px;
}
.deposit-logs-v2-list-empty span {
  display: block;
  font-size: 13px;
  margin-bottom: 20px;
}
.deposit-logs-v2-empty-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(50, 193, 94, 0.3);
}
.deposit-logs-v2-footnote {
  text-align: center;
  font-size: 11px;
  color: #aaa;
  padding: 8px var(--page-gutter) 0;
  line-height: 1.5;
}

/* ===== 设置中心 V2 ===== */
.settings-v2-page {
  background: #f5f7f6;
  min-height: 100vh;
  padding: 12px var(--page-gutter) calc(24px + var(--safe-bottom));
}
.settings-v2-user {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  margin-bottom: 16px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  text-decoration: none;
  color: inherit;
}
.settings-v2-user:active { opacity: 0.92; }
.settings-v2-user-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-light);
  flex-shrink: 0;
}
.settings-v2-user-info {
  flex: 1;
  min-width: 0;
}
.settings-v2-user-info strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}
.settings-v2-user-info span {
  font-size: 13px;
  color: var(--text-muted);
}
.settings-v2-user-edit {
  flex-shrink: 0;
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
}
.settings-v2-user-edit i { font-size: 10px; margin-left: 2px; }
.settings-v2-group { margin-bottom: 16px; }
.settings-v2-group-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 0 4px 8px;
}
.settings-v2-list {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.settings-v2-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid #f3f4f6;
  transition: background 0.12s;
}
.settings-v2-item:last-child { border-bottom: none; }
.settings-v2-item:active { background: #fafafa; }
.settings-v2-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
}
.settings-v2-icon.is-green { background: var(--primary-light); color: var(--primary-dark); }
.settings-v2-icon.is-blue { background: #EFF6FF; color: #2563EB; }
.settings-v2-icon.is-purple { background: #F3E8FF; color: #9333EA; }
.settings-v2-icon.is-orange { background: #FFF7ED; color: #EA580C; }
.settings-v2-icon.is-gray { background: #F3F4F6; color: #6B7280; }
.settings-v2-icon.is-teal { background: #ECFDF5; color: #059669; }
.settings-v2-label {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
}
.settings-v2-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-right: 4px;
}
.settings-v2-value {
  font-size: 13px;
  color: var(--text-muted);
  margin-right: 4px;
}
.settings-v2-arrow {
  flex-shrink: 0;
  font-size: 12px;
  color: #d1d5db;
}
.settings-v2-logout {
  display: block;
  width: 100%;
  margin-top: 8px;
  padding: 16px;
  border: none;
  border-radius: 16px;
  background: #fff;
  color: var(--red);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.settings-v2-logout:active { background: #fef2f2; }
.settings-v2-intro {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 4px 4px 14px;
}
.settings-v2-form-note {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  padding: 0 4px 16px;
}
.settings-v2-tip-card {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 16px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.settings-v2-tip-card > i {
  font-size: 22px;
  color: var(--primary);
  flex-shrink: 0;
  margin-top: 2px;
}
.settings-v2-tip-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.65;
}
.settings-v2-toggle-row {
  cursor: pointer;
  user-select: none;
}
.settings-v2-label-block {
  flex: 1;
  min-width: 0;
}
.settings-v2-label-block strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 2px;
}
.settings-v2-label-block em {
  display: block;
  font-style: normal;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}
.settings-v2-switch {
  flex-shrink: 0;
  position: relative;
  width: 48px;
  height: 28px;
}
.settings-v2-switch input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}
.settings-v2-switch-ui {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #e5e7eb;
  transition: background 0.2s;
  position: relative;
}
.settings-v2-switch-ui::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s;
}
.settings-v2-switch input:checked + .settings-v2-switch-ui {
  background: var(--primary);
}
.settings-v2-switch input:checked + .settings-v2-switch-ui::after {
  transform: translateX(20px);
}
.settings-v2-save-btn {
  display: block;
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(50, 193, 94, 0.3);
}
.settings-v2-save-btn:active { transform: scale(0.99); }
.settings-v2-form-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.settings-v2-form-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid #f3f4f6;
}
.settings-v2-form-head strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 4px;
}
.settings-v2-form-head p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.5;
}
.settings-v2-fields { display: flex; flex-direction: column; gap: 14px; }
.settings-v2-field span {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 6px;
}
.settings-v2-field input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fafafa;
  font-size: 15px;
}
.settings-v2-field input:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}
.settings-v2-field input.is-disabled {
  background: #f3f4f6;
  color: var(--text-muted);
}
.settings-v2-alert {
  padding: 10px 12px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: #fef2f2;
  color: #b91c1c;
  font-size: 13px;
}
.settings-v2-about-hero {
  text-align: center;
  padding: 32px 20px 24px;
  margin-bottom: 16px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.settings-v2-about-logo {
  width: 72px;
  height: 72px;
  margin: 0 auto 14px;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  box-shadow: 0 8px 24px rgba(50, 193, 94, 0.3);
}
.settings-v2-about-hero h2 {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 4px;
}
.settings-v2-about-hero > p {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.settings-v2-about-ver {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 600;
}
.settings-v2-about-body {
  background: #fff;
  border-radius: 16px;
  padding: 18px 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.settings-v2-about-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.85;
}

/* 个人信息 V2 */
.profile-v2-page { padding-top: 8px; }
.profile-v2-avatar-section {
  text-align: center;
  padding: 24px 16px 20px;
  margin-bottom: 8px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.profile-v2-avatar-stage {
  position: relative;
  display: inline-block;
  margin-bottom: 12px;
}
.profile-v2-avatar-ring {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
}
.profile-v2-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #f3f4f6;
}
.profile-v2-avatar-loading {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-v2-upload-btn {
  position: absolute;
  right: -4px;
  bottom: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(50, 193, 94, 0.4);
  border: 2px solid #fff;
}
.profile-v2-upload-btn span { display: none; }
.profile-v2-upload-title {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
}
.profile-v2-upload-hint {
  font-size: 12px;
  color: var(--text-muted);
}

/* 会员中心 */
.member-center-page { background: var(--bg); padding-bottom: calc(24px + var(--tab-bar-clearance)); }
.member-header {
  position: relative;
  padding: calc(16px + var(--safe-top)) 20px 48px;
  background: linear-gradient(145deg, #15803D 0%, var(--primary) 55%, #4ADE80 100%);
  color: #fff;
}
.member-header-actions {
  display: flex; justify-content: flex-end; gap: 16px;
  margin-bottom: 20px;
}
.member-header-actions a { color: #fff; font-size: 20px; text-decoration: none; }
.member-profile { display: flex; align-items: center; gap: 14px; }
.member-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 3px solid rgba(255,255,255,0.35);
  object-fit: cover;
}
.member-info h2 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.member-level {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 10px;
  background: rgba(255,255,255,0.25);
  font-size: 11px;
  margin-bottom: 6px;
}
.member-id { font-size: 12px; opacity: 0.85; }
.member-vip-banner {
  display: flex; justify-content: space-between; align-items: center;
  margin: -28px 16px 16px;
  padding: 16px 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1F2937, #374151);
  color: #FBBF24;
  position: relative;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}
.member-vip-banner h3 { font-size: 16px; color: #FBBF24; margin-bottom: 4px; }
.member-vip-banner p { font-size: 12px; color: rgba(251,191,36,0.8); }
.member-vip-btn {
  padding: 8px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, #FBBF24, #F59E0B);
  color: #1F2937;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

/* 骑行会员卡 */
.lc-page {
  padding-bottom: calc(88px + var(--safe-bottom));
  background: #F0F4F8;
  min-height: 100vh;
}
.lc-min-nav {
  display: flex;
  align-items: center;
  padding: calc(10px + var(--safe-top)) 12px 10px;
  background: #fff;
  border-bottom: 1px solid #EEF2F6;
}
.lc-min-nav-back {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  text-decoration: none;
}
.lc-min-nav-title {
  flex: 1;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
}
.lc-min-nav-spacer { width: 36px; }
.lc-hero {
  position: relative;
  padding: calc(8px + var(--safe-top)) 16px 32px;
  color: #fff;
  overflow: hidden;
}
.lc-hero-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, #052E16 0%, #14532D 42%, #166534 100%);
}
.lc-hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 90% 10%, rgba(251,191,36,0.18) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 10% 90%, rgba(255,255,255,0.06) 0%, transparent 50%);
}
.lc-hero-nav {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  margin-bottom: 22px;
}
.lc-hero-back {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
}
.lc-hero-nav-title {
  flex: 1;
  text-align: center;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.lc-hero-nav-spacer { width: 36px; }
.lc-showcase { position: relative; z-index: 1; }
.lc-premium-card {
  position: relative;
  aspect-ratio: 1.586;
  max-width: 360px;
  margin: 0 auto;
  padding: 22px 24px 20px;
  border-radius: 20px;
  overflow: hidden;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: linear-gradient(135deg, #065F46 0%, #047857 42%, #064E3B 100%);
  box-shadow:
    0 24px 48px rgba(0,0,0,0.28),
    0 0 0 1px rgba(255,255,255,0.1) inset,
    0 1px 0 rgba(255,255,255,0.15) inset;
}
.lc-premium-card.is-pending {
  background: linear-gradient(135deg, #1C1917 0%, #292524 38%, #44403C 100%);
  box-shadow:
    0 24px 48px rgba(0,0,0,0.32),
    0 0 0 1px rgba(251,191,36,0.28) inset;
}
.lc-premium-card.is-vip {
  background: linear-gradient(135deg, #78350F 0%, #B45309 38%, #451A03 100%);
  box-shadow:
    0 24px 48px rgba(69,26,3,0.38),
    0 0 0 1px rgba(253,224,71,0.25) inset;
}
.lc-premium-card-pattern {
  position: absolute;
  inset: 0;
  opacity: 1;
  background:
    radial-gradient(circle at 85% 15%, rgba(255,255,255,0.12) 0%, transparent 35%),
    repeating-linear-gradient(-52deg, transparent, transparent 11px, rgba(255,255,255,0.025) 11px, rgba(255,255,255,0.025) 12px);
  pointer-events: none;
}
.lc-premium-card-shine {
  position: absolute;
  top: -60%;
  left: -30%;
  width: 80%;
  height: 200%;
  background: linear-gradient(105deg, transparent 42%, rgba(255,255,255,0.12) 50%, transparent 58%);
  transform: rotate(12deg);
  pointer-events: none;
}
.lc-premium-card-top,
.lc-premium-card-mid,
.lc-premium-card-foot {
  position: relative;
  z-index: 1;
}
.lc-premium-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.lc-premium-chip {
  width: 44px;
  height: 34px;
  border-radius: 7px;
  background: linear-gradient(145deg, #FEF3C7 0%, #F59E0B 55%, #D97706 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55), 0 2px 6px rgba(0,0,0,0.2);
}
.lc-premium-chip::after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background:
    linear-gradient(90deg, transparent 32%, rgba(0,0,0,0.08) 32%, rgba(0,0,0,0.08) 34%, transparent 34%),
    linear-gradient(0deg, transparent 42%, rgba(0,0,0,0.06) 42%, rgba(0,0,0,0.06) 58%, transparent 58%);
}
.lc-premium-brand {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  opacity: 0.88;
  padding-top: 4px;
}
.lc-premium-brand i {
  margin-right: 4px;
  color: #FDE68A;
}
.lc-premium-site {
  font-size: 11px;
  opacity: 0.78;
  margin-bottom: 4px;
  letter-spacing: 0.04em;
}
.lc-premium-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 8px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.15);
}
.lc-premium-no {
  font-size: 13px;
  letter-spacing: 0.12em;
  font-variant-numeric: tabular-nums;
  opacity: 0.92;
}
.lc-premium-no-muted { opacity: 0.62; letter-spacing: 0.06em; font-size: 12px; }
.lc-premium-card-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
}
.lc-premium-foot-item { display: flex; flex-direction: column; gap: 2px; }
.lc-premium-foot-right { text-align: right; }
.lc-premium-label {
  font-size: 9px;
  letter-spacing: 0.1em;
  opacity: 0.65;
  text-transform: uppercase;
}
.lc-premium-card-foot strong { font-size: 14px; font-weight: 700; }
.lc-premium-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(251,191,36,0.22);
  color: #FDE68A;
  border: 1px solid rgba(251,191,36,0.35);
}
.lc-premium-badge.is-active {
  background: rgba(255,255,255,0.18);
  color: #fff;
  border-color: rgba(255,255,255,0.28);
}
.lc-showcase-tip {
  margin: 16px auto 0;
  max-width: 320px;
  text-align: center;
  font-size: 12px;
  line-height: 1.6;
  opacity: 0.88;
}
.lc-showcase-meta {
  margin: 8px auto 0;
  text-align: center;
  font-size: 12px;
  opacity: 0.82;
}
.lc-showcase-meta strong { font-size: 15px; margin: 0 2px; }
.lc-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: -18px 16px 18px;
  padding: 16px 12px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 8px 28px rgba(15,23,42,0.08);
  position: relative;
  z-index: 2;
}
.lc-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  min-width: 64px;
  color: var(--text-muted);
  font-size: 11px;
}
.lc-step-num {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #F3F4F6;
  font-weight: 700;
  font-size: 12px;
}
.lc-step.is-active .lc-step-num { background: var(--primary-light); color: var(--primary-dark); }
.lc-step.is-active { color: var(--primary-dark); font-weight: 600; }
.lc-step.is-done .lc-step-num { background: #DCFCE7; color: #15803D; }
.lc-step.is-done { color: #15803D; }
.lc-step-line { flex: 1; height: 2px; background: #E5E7EB; max-width: 36px; margin-bottom: 18px; }
.lc-section-title {
  margin: 0 16px 12px;
  font-size: 15px;
  font-weight: 700;
}
.lc-wallet { padding: 0 16px; display: flex; flex-direction: column; gap: 12px; }
.lc-wallet-card {
  border-radius: 16px;
  padding: 18px;
  color: #fff;
  background: linear-gradient(135deg, #374151 0%, #1F2937 100%);
  box-shadow: 0 10px 28px rgba(17,24,39,0.22);
}
.lc-wallet-card.is-vip {
  background: linear-gradient(135deg, #92400E 0%, #78350F 55%, #451A03 100%);
}
.lc-wallet-card-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.lc-wallet-brand { font-size: 12px; opacity: 0.88; }
.lc-wallet-brand i { margin-right: 4px; color: #FBBF24; }
.lc-wallet-status {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
}
.lc-wallet-name { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.lc-wallet-no { font-size: 11px; opacity: 0.72; letter-spacing: 1px; margin-bottom: 14px; }
.lc-wallet-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 10px;
  margin-bottom: 12px;
}
.lc-wallet-label { display: block; font-size: 11px; opacity: 0.72; margin-bottom: 2px; }
.lc-wallet-days { display: block; font-size: 11px; opacity: 0.78; margin-top: 2px; }
.lc-wallet-warn {
  font-size: 11px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(251,191,36,0.22);
  color: #FDE68A;
  white-space: nowrap;
}
.lc-wallet-scope { display: flex; flex-wrap: wrap; gap: 6px; }
.lc-scope-tag {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  background: rgba(255,255,255,0.14);
  font-size: 10px;
}
.lc-scope-tag-sm { background: #F3F4F6; color: var(--text-secondary); }
.lc-quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 16px;
}
.lc-primary-btn,
.lc-secondary-btn,
.lc-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 16px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
}
.lc-primary-btn { flex: 1; min-width: 140px; background: var(--primary); color: #fff; }
.lc-secondary-btn { background: #fff; color: var(--text-secondary); box-shadow: var(--shadow); }
.lc-link-btn { margin-top: 8px; background: var(--primary-light); color: var(--primary-dark); }
.lc-empty-hint {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 16px 16px;
  padding: 14px;
  border-radius: 12px;
  background: #EFF6FF;
  color: #1D4ED8;
  font-size: 13px;
  line-height: 1.55;
}
.lc-empty-hint.is-warn { background: #FFF7ED; color: #C2410C; }
.lc-empty-hint i { margin-top: 2px; }
.lc-expired-list { padding: 0 16px 8px; display: flex; flex-direction: column; gap: 10px; }
.lc-expired-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px;
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.lc-expired-card h4 { font-size: 14px; margin-bottom: 4px; }
.lc-expired-card p { font-size: 12px; color: var(--text-muted); }
.lc-expired-renew {
  flex-shrink: 0;
  padding: 8px 14px;
  border: none;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}
.lc-plan-list { padding: 0 16px; display: flex; flex-direction: column; gap: 10px; }
.lc-plan-option {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  cursor: pointer;
}
.lc-plan-option input { display: none; }
.lc-plan-option.is-selected { border-color: var(--primary); box-shadow: 0 6px 18px rgba(34,197,94,0.16); }
.lc-plan-option.is-vip.is-selected { border-color: #F59E0B; box-shadow: 0 6px 18px rgba(245,158,11,0.18); }
.lc-plan-option-body { flex: 1; min-width: 0; }
.lc-plan-option-head { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin-bottom: 4px; }
.lc-plan-option-name { font-size: 15px; }
.lc-plan-option-meta { display: block; font-size: 12px; color: var(--text-muted); }
.lc-plan-scope-preview { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.lc-plan-option-price { font-size: 18px; font-weight: 800; color: var(--primary-dark); white-space: nowrap; }
.lc-plan-tag {
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-dark);
}
.lc-plan-tag-gold { background: #FEF3C7; color: #B45309; }
.lc-benefits { margin: 20px 0 12px; }
.lc-benefit-list {
  margin: 0 16px;
  padding: 16px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  list-style: none;
}
.lc-benefit-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.55;
  padding: 8px 0;
  border-bottom: 1px solid #F3F4F6;
}
.lc-benefit-list li:last-child { border-bottom: none; }
.lc-benefit-list i { color: var(--primary); margin-top: 3px; width: 16px; text-align: center; }
.lc-deposit-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 16px 16px;
  font-size: 13px;
  color: var(--primary);
  text-decoration: none;
}
.lc-buy-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px calc(12px + var(--safe-bottom));
  background: rgba(255,255,255,0.98);
  border-top: 1px solid #E5E7EB;
  box-shadow: 0 -8px 24px rgba(15,23,42,0.08);
  backdrop-filter: blur(10px);
}
.lc-buy-bar-info { flex: 1; min-width: 0; }
.lc-buy-bar-label { display: block; font-size: 12px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lc-buy-bar-price { font-size: 22px; font-weight: 800; color: var(--primary-dark); }
.lc-buy-bar-btn {
  flex-shrink: 0;
  min-width: 120px;
  padding: 12px 20px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, #22C55E, #16A34A);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}
.lc-buy-bar-btn:disabled { opacity: 0.65; }
.lc-empty {
  text-align: center;
  padding: 80px 24px 40px;
}
.lc-empty-visual {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(145deg, #EFF6FF, #DBEAFE);
  color: #2563EB;
  font-size: 28px;
}
.lc-empty h2 { font-size: 18px; margin-bottom: 8px; }
.lc-empty p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.lc-empty-sm { padding: 24px 16px; text-align: center; color: var(--text-muted); font-size: 13px; }

.member-section { margin: 0 16px 16px; }
.member-section-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
}
.member-section-head h3, .member-section-title {
  font-size: 16px; font-weight: 700;
}
.member-section-head a { font-size: 12px; color: var(--text-muted); text-decoration: none; }
.member-order-grid {
  display: grid; grid-template-columns: repeat(5, 1fr);
  background: var(--white);
  border-radius: 14px;
  padding: 16px 8px;
  box-shadow: var(--shadow);
}
.member-order-grid a {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  text-decoration: none; color: var(--text-secondary);
  font-size: 11px;
  position: relative;
}
.member-order-grid i { font-size: 22px; color: var(--primary); }
.member-order-grid em {
  position: absolute; top: -4px; right: 8px;
  min-width: 16px; height: 16px;
  padding: 0 4px;
  border-radius: 8px;
  background: var(--red);
  color: #fff;
  font-style: normal;
  font-size: 10px;
  display: flex; align-items: center; justify-content: center;
}
.member-service-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: var(--white);
  border-radius: 14px;
  padding: 8px 0;
  box-shadow: var(--shadow);
}
.member-service-grid a {
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  padding: 14px 6px;
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 11px;
}
.member-service-grid i { font-size: 22px; color: var(--primary); }
.member-referral-banner {
  display: flex; justify-content: space-between; align-items: center;
  margin: 0 16px 16px;
  padding: 18px;
  border-radius: 14px;
  background: linear-gradient(135deg, #DBEAFE, #BFDBFE);
}
.member-referral-text h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.member-referral-text p { font-size: 12px; color: var(--text-secondary); margin-bottom: 10px; }
.member-referral-btn {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 16px;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.member-referral-art {
  font-size: 48px;
  color: var(--blue);
  opacity: 0.6;
}

/* 底部 Tab 5项 · 旧 FAB 样式已移除，见首页区块 */

/* ===== 车辆详情 V2 · 电商风格 ===== */
.detail-page-v2 {
  background: #f5f6f8;
  padding-bottom: calc(100px + var(--safe-bottom));
}
.detail-v2-hero {
  position: relative;
  width: 100%;
  height: 280px;
  background: #e8ecf0;
  overflow: hidden;
}
.detail-v2-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.detail-v2-nav {
  position: absolute;
  top: calc(8px + var(--safe-top));
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 12px;
  z-index: 2;
}
.detail-v2-nav-right {
  display: flex;
  gap: 8px;
}
.detail-v2-nav-btn.is-active {
  color: #f5222d;
  background: rgba(255,255,255,0.98);
}
.detail-v2-nav-btn {
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  cursor: pointer;
  text-decoration: none;
}
.detail-v2-main {
  margin-top: -20px;
  position: relative;
  z-index: 1;
  background: #f5f6f8;
  border-radius: 20px 20px 0 0;
  padding: 16px 16px 8px;
}
.detail-v2-price-row {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 10px;
}
.detail-v2-price-main {
  font-size: 28px;
  font-weight: 800;
  color: #ff5722;
  line-height: 1;
}
.detail-v2-price-main em {
  font-size: 14px;
  font-style: normal;
  font-weight: 600;
}
.detail-v2-price-sub {
  font-size: 15px;
  color: #ff8a65;
  font-weight: 600;
}
.detail-v2-deposit {
  margin-left: auto;
  font-size: 12px;
  color: #999;
}
.detail-v2-title {
  font-size: 20px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.35;
  margin-bottom: 10px;
}
.detail-v2-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}
.detail-v2-tags span {
  padding: 4px 10px;
  border-radius: 6px;
  background: #fff;
  font-size: 12px;
  color: #666;
  border: 1px solid #eee;
}
.detail-v2-tags .is-ok { color: var(--primary-dark); background: var(--primary-light); border-color: transparent; }
.detail-v2-tags .is-warn { color: #f5222d; background: #fff1f0; border-color: transparent; }
.detail-v2-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 14px;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.detail-v2-score { font-size: 22px; font-weight: 700; color: var(--primary); }
.detail-v2-stars { color: #ffc107; font-size: 12px; }
.detail-v2-review-count { margin-left: auto; font-size: 12px; color: #999; }
.detail-v2-panel {
  background: #fff;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.detail-v2-panel-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}
.detail-v2-unit-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  background: #f5f5f5;
  border-radius: 10px;
  padding: 4px;
}
.detail-v2-unit-tab {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
}
.detail-v2-unit-tab.is-active {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.detail-v2-hour-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.detail-v2-hour-chip,
.detail-v2-size-chip {
  padding: 8px 14px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fafafa;
  font-size: 13px;
  color: #333;
  cursor: pointer;
}
.detail-v2-hour-chip.is-active,
.detail-v2-size-chip.is-active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
}
.detail-v2-day-stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.detail-v2-step-btn {
  width: 40px;
  height: 40px;
  border: 1px solid #e8e8e8;
  border-radius: 50%;
  background: #fff;
  font-size: 20px;
  color: var(--primary);
  cursor: pointer;
}
.detail-v2-step-val strong { font-size: 22px; color: var(--primary-dark); }
.detail-v2-range-hint {
  margin-top: 10px;
  font-size: 12px;
  color: #999;
  text-align: center;
}
.detail-v2-subtitle {
  font-size: 13px;
  font-weight: 600;
  margin: 14px 0 8px;
  color: #666;
}
.detail-v2-specs {
  background: #fff;
  border-radius: 12px;
  padding: 4px 14px;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.detail-v2-spec-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f5f5f5;
  font-size: 13px;
}
.detail-v2-spec-item:last-child { border-bottom: none; }
.detail-v2-spec-item span { color: #999; }
.detail-v2-spec-item strong { color: #333; font-weight: 500; }
.detail-v2-gallery {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  margin-bottom: 12px;
  padding-bottom: 4px;
}
.detail-v2-gallery img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}
.detail-v2-tabs { margin: 0 0 0; border-radius: 12px 12px 0 0; }
.detail-v2-body { margin: 0; border-radius: 0 0 12px 12px; }
.detail-v2-review-form {
  background: #f9fafb;
  border-radius: 10px;
  padding: 12px;
  margin-bottom: 12px;
}
.detail-v2-review-form select,
.detail-v2-review-form textarea {
  width: 100%;
  margin-bottom: 8px;
  padding: 10px;
  border: 1px solid #eee;
  border-radius: 8px;
  font-size: 14px;
  box-sizing: border-box;
}
.detail-v2-review-btn {
  width: 100%;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
}
.detail-v2-review-item {
  padding: 12px 0;
  border-bottom: 1px solid #f0f0f0;
}
.detail-v2-review-head {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}
.detail-v2-review-head em { margin-left: auto; color: #ccc; font-style: normal; font-size: 12px; }
.detail-v2-review-stars { color: #ffc107; font-size: 11px; }
.detail-v2-empty, .detail-v2-login-hint { text-align: center; color: #999; padding: 20px; }

.detail-action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 210;
  background: #fff;
  border-top: 1px solid #eee;
  padding: 10px 16px calc(10px + var(--safe-bottom));
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.detail-action-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.detail-action-icon {
  width: 44px;
  height: 44px;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fff;
  color: var(--primary);
  font-size: 18px;
  cursor: pointer;
  flex-shrink: 0;
}
.detail-action-price {
  flex: 1;
  min-width: 0;
}
.detail-action-label {
  display: block;
  font-size: 11px;
  color: #999;
}
.detail-action-amount {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #ff5722;
  line-height: 1.2;
}
.detail-action-sub {
  display: block;
  font-size: 11px;
  color: #999;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.detail-action-btn {
  flex-shrink: 0;
  min-width: 120px;
  padding: 12px 20px;
  border: none;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(50,193,94,0.35);
}
.detail-action-btn:disabled { opacity: 0.5; cursor: not-allowed; }
.detail-action-icon.is-active {
  color: #f5222d;
  border-color: #ffccc7;
  background: #fff1f0;
}
.detail-action-extra {
  text-align: center;
  margin-top: 8px;
}
.detail-action-link {
  border: none;
  background: none;
  color: var(--primary);
  font-size: 13px;
  cursor: pointer;
  text-decoration: underline;
}

/* ===== 租赁确认 · 底部结算栏 ===== */
.bc-page { padding-bottom: calc(90px + var(--safe-bottom)); }
.bc-unit-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
  background: #f5f5f5;
  border-radius: 10px;
  padding: 4px;
}
.bc-unit-tab {
  flex: 1;
  border: none;
  background: transparent;
  padding: 8px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
}
.bc-unit-tab.active {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}
.bc-hour-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.bc-hour-chip {
  padding: 8px 14px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  background: #fafafa;
  font-size: 13px;
  cursor: pointer;
}
.bc-hour-chip.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
}
.bc-action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 210;
  background: #fff;
  border-top: 1px solid #eee;
  padding: 12px 16px calc(12px + var(--safe-bottom));
  box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
}
.bc-action-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 480px;
  margin: 0 auto;
}
.bc-action-price { flex: 1; min-width: 0; }
.bc-action-label { display: block; font-size: 11px; color: #999; }
.bc-action-amount {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: #ff5722;
}
.bc-action-sub {
  display: block;
  font-size: 11px;
  color: #999;
}
.bc-action-btn {
  flex-shrink: 0;
  min-width: 140px;
  padding: 14px 20px;
  border: none;
  border-radius: 24px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.bc-action-btn:disabled { opacity: 0.5; }

/* ===== 租赁确认 · 表单区块 ===== */
.bc-section { margin-bottom: 20px; padding-bottom: 4px; }
.bc-section:last-child { margin-bottom: 0; }
.bc-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}
.bc-section-title i { color: var(--primary); font-size: 14px; }
.bc-size-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bc-size-chip {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fafafa;
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.bc-size-chip.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
  font-weight: 600;
}
.bc-pickup-list { margin-bottom: 8px; }
.bc-pickup-item input[type="radio"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--primary);
}
.bc-express-fields { display: flex; flex-direction: column; gap: 10px; }
.bc-field label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.bc-field input,
.bc-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fafafa;
  font-size: 14px;
}
.bc-field textarea { resize: vertical; min-height: 72px; }
.bc-rules {
  margin-top: 16px;
  padding: 14px;
  background: #f8faf9;
  border-radius: 10px;
  border: 1px solid #eef2ef;
}
.bc-rule {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px dashed #e8ece9;
}
.bc-rule:last-child { border-bottom: none; }
.bc-rule span { color: var(--text-muted); }
.bc-rule strong { color: #1a1a1a; font-weight: 600; }
.bc-accent { color: var(--primary-dark) !important; }
.bc-notice {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.5;
}
.bc-notice-warn {
  background: #fffbeb;
  border: 1px solid #fde68a;
  color: #92400e;
}
.bc-notice-sub { font-size: 12px; color: #a16207; margin-top: 4px; }
.bc-alert {
  padding: 12px;
  background: #fef2f2;
  border: 1px solid #fecaca;
  border-radius: 8px;
  color: #b91c1c;
  font-size: 13px;
  margin: 8px 0;
}
.bc-btn-outline {
  background: #fff;
  border: 1px solid var(--primary);
  color: var(--primary-dark);
}
.bc-section-card { margin-top: 4px; }
.bc-lc-empty { text-align: center; padding: 12px 0; }
.bc-lc-empty-title { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.bc-lc-empty-desc { font-size: 13px; color: var(--text-muted); margin-bottom: 12px; }
.bc-lc-list { display: flex; flex-direction: column; gap: 8px; }
.bc-lc-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}
.bc-lc-item.is-selected { border-color: var(--primary); background: var(--primary-light); }
.bc-lc-item.is-disabled { opacity: 0.55; cursor: not-allowed; }
.bc-lc-radio { flex-shrink: 0; accent-color: var(--primary); }
.bc-lc-item-body { flex: 1; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.bc-lc-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
}
.bc-lc-badge-ok { background: var(--primary-light); color: var(--primary-dark); }
.bc-lc-badge-warn { background: #fef3c7; color: #b45309; }
.bc-lc-warn { margin-top: 8px; font-size: 12px; color: var(--red); }
.bc-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.bc-modal[hidden] { display: none !important; }
.bc-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.bc-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 320px;
  background: #fff;
  border-radius: 14px;
  padding: 20px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}
.bc-modal-panel h3 { font-size: 17px; margin-bottom: 10px; }
.bc-modal-panel p { font-size: 14px; color: #666; margin-bottom: 16px; line-height: 1.5; }
.bc-modal-actions { display: flex; gap: 10px; justify-content: flex-end; }

/* ===== 租赁确认 V2 ===== */
.bc-v2-page {
  background: #f5f7f6;
}
.mobile-page.bc-v2-page.no-tab {
  padding-bottom: calc(24px + var(--safe-bottom));
}
.mobile-page.bc-v2-page.bc-has-bottom-bar {
  padding-bottom: calc(140px + var(--safe-bottom));
}
.mobile-page.bc-v2-page.bc-has-deposit-bar {
  padding-bottom: calc(210px + var(--safe-bottom));
}
.bc-v2-page .bc-notice {
  margin-bottom: 8px;
}
.bc-v2-hero {
  background: #fff;
  margin-bottom: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}
.bc-v2-hero-cover {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, #e8f8ed 0%, #f0fdf4 100%);
  overflow: hidden;
}
.bc-v2-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.bc-v2-hero-panel {
  padding: 16px var(--page-gutter) 18px;
}
.bc-v2-hero-panel h1 {
  font-size: 20px;
  font-weight: 800;
  color: #1a1a1a;
  line-height: 1.3;
  margin-bottom: 6px;
}
.bc-v2-hero-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.bc-v2-hero-prices {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 10px;
}
.bc-v2-hero-prices span {
  font-size: 22px;
  font-weight: 800;
  color: var(--price-orange);
}
.bc-v2-hero-prices em {
  font-style: normal;
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
}
.bc-v2-deposit-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 12px;
  font-weight: 600;
}
.bc-v2-body { padding: 0 var(--page-gutter) 8px; }
.bc-v2-card { margin-bottom: 0; }
.bc-v2-section-label {
  font-size: 16px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid #f0f0f0;
}
.bc-v2-deposit-tip { margin-top: 4px; }
.bc-v2-deposit-box {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff7ed 0%, #ffedd5 100%);
  border: 1px solid #fed7aa;
}
.bc-v2-deposit-box > i {
  font-size: 28px;
  color: #ea580c;
  flex-shrink: 0;
  margin-top: 2px;
}
.bc-v2-deposit-box strong {
  display: block;
  font-size: 15px;
  color: #9a3412;
  margin-bottom: 4px;
}
.bc-v2-deposit-box p {
  font-size: 13px;
  color: #c2410c;
  line-height: 1.45;
  margin: 0;
}
.bc-v2-deposit-note {
  margin-top: 6px !important;
  font-size: 12px !important;
  color: #9a3412 !important;
  opacity: 0.85;
}
.bc-action-bar-deposit {
  background: linear-gradient(180deg, #fff 0%, #fffbf7 100%);
  border-top: 1px solid #fed7aa;
  box-shadow: 0 -6px 24px rgba(234, 88, 12, 0.12);
}
.bc-deposit-bar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 480px;
  margin: 0 auto;
}
.bc-deposit-bar-text { flex: 1; min-width: 0; }
.bc-deposit-bar-label {
  display: block;
  font-size: 12px;
  color: #9a3412;
  margin-bottom: 2px;
}
.bc-deposit-bar-amount {
  display: block;
  font-size: 24px;
  font-weight: 800;
  color: #ea580c;
  line-height: 1.1;
}
.bc-deposit-bar-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 160px;
  padding: 16px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4);
  animation: bc-deposit-pulse 2.5s ease-in-out infinite;
}
.bc-deposit-bar-btn:active { transform: scale(0.98); }
@keyframes bc-deposit-pulse {
  0%, 100% { box-shadow: 0 6px 20px rgba(234, 88, 12, 0.4); }
  50% { box-shadow: 0 6px 28px rgba(234, 88, 12, 0.55); }
}
.bc-action-deposit-hint {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  color: var(--primary-dark);
}
.bc-action-deposit-hint i { margin-right: 3px; }

/* ===== 积分商城 V2 ===== */
.points-mall-v2-page {
  background: #f5f7f6;
  min-height: 100vh;
  padding-bottom: calc(24px + var(--safe-bottom));
}
.points-mall-v2-hero {
  margin: 12px var(--page-gutter) 20px;
  padding: 24px 20px;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 10px 28px rgba(50, 193, 94, 0.28);
  position: relative;
  overflow: hidden;
}
.points-mall-v2-hero::before {
  content: '';
  position: absolute;
  right: -30px;
  top: -30px;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}
.points-mall-v2-hero-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.points-mall-v2-label {
  font-size: 13px;
  opacity: 0.9;
  margin-bottom: 4px;
}
.points-mall-v2-balance {
  font-size: 14px;
  margin-bottom: 16px;
}
.points-mall-v2-balance strong {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1;
}
.points-mall-v2-links {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.points-mall-v2-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.points-mall-v2-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-gutter) 12px;
}
.points-mall-v2-section-head h3 {
  font-size: 17px;
  font-weight: 800;
  color: #1a1a1a;
}
.points-mall-v2-section-head span {
  font-size: 12px;
  color: var(--text-muted);
}
.points-mall-v2-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding: 0 var(--page-gutter) 16px;
}
.points-mall-v2-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
}
.points-mall-v2-cover {
  position: relative;
  aspect-ratio: 1;
  background: linear-gradient(135deg, #e8f8ed, #f0fdf4);
  overflow: hidden;
}
.points-mall-v2-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.points-mall-v2-soldout {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}
.points-mall-v2-body {
  padding: 12px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.points-mall-v2-body h4 {
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.35;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.points-mall-v2-cost {
  font-size: 15px;
  font-weight: 800;
  color: var(--price-orange);
  margin-bottom: 4px;
}
.points-mall-v2-cost i { margin-right: 4px; font-size: 13px; }
.points-mall-v2-stock {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.points-mall-v2-btn {
  width: 100%;
  margin-top: auto;
  padding: 10px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}
.points-mall-v2-btn:disabled {
  background: #e5e7eb;
  color: #9ca3af;
  cursor: not-allowed;
}
.points-mall-v2-empty {
  text-align: center;
  padding: 48px var(--page-gutter);
  color: var(--text-muted);
}
.points-mall-v2-empty i {
  font-size: 48px;
  color: #d1d5db;
  margin-bottom: 16px;
}
.points-mall-v2-empty p {
  font-size: 16px;
  font-weight: 600;
  color: #666;
  margin-bottom: 6px;
}
.points-mall-v2-empty span {
  display: block;
  font-size: 13px;
  margin-bottom: 20px;
}
.points-mall-v2-empty-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

/* ===== 购物车 V2 ===== */
.cart-v2-page {
  background: #f5f7f6;
}
.cart-v2-list-page {
  padding-bottom: calc(88px + var(--tab-bar-clearance));
}
.cart-v2-checkout-page {
  padding-bottom: calc(240px + var(--safe-bottom));
}
.cart-v2-list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px var(--page-gutter) 10px;
  font-size: 13px;
  color: var(--text-muted);
}
.cart-v2-list-head strong { color: var(--primary-dark); font-size: 15px; }
.cart-v2-list-hint { font-size: 11px; }
.cart-v2-list-only {
  padding: 0 var(--page-gutter) 8px;
}
.cart-v2-section {
  margin: 0 var(--page-gutter) 12px;
  padding: 16px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.cart-v2-section-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 12px;
}
.cart-v2-section-title i { color: var(--primary); }
.cart-v2-mode-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}
.cart-v2-mode-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: #fafafa;
  font-size: 14px;
  font-weight: 600;
  color: #666;
  cursor: pointer;
}
.cart-v2-mode-tab.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary-dark);
}
.cart-v2-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 10px;
}
.cart-v2-hint i { color: var(--primary); margin-right: 4px; }
.cart-v2-field {
  display: block;
  margin-top: 12px;
}
.cart-v2-field span {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.cart-v2-field input,
.cart-v2-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #fafafa;
  font-size: 14px;
}
.cart-v2-alert {
  padding: 12px;
  background: #fef2f2;
  border-radius: 8px;
  color: #b91c1c;
  font-size: 13px;
}
.cart-v2-list { display: flex; flex-direction: column; gap: 12px; }
.cart-v2-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.cart-v2-item-main {
  display: flex;
  gap: 12px;
  padding: 14px;
  text-decoration: none;
  color: inherit;
}
.cart-v2-item-main:active { background: #fafafa; }
.cart-v2-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 14px 12px;
  border-top: 1px solid #f3f4f6;
}
.cart-v2-stepper-compact { margin-bottom: 0; }
.cart-v2-item-go {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 6px;
  font-size: 12px;
  color: var(--primary);
  font-weight: 600;
}
.cart-v2-item-go i { font-size: 10px; }
.cart-v2-checkout-items { display: flex; flex-direction: column; gap: 12px; }
.cart-v2-checkout-row {
  display: flex;
  gap: 12px;
  align-items: center;
}
.cart-v2-checkout-cover {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  border-radius: 8px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f8ed, #f0fdf4);
}
.cart-v2-checkout-meta { flex: 1; min-width: 0; }
.cart-v2-checkout-meta strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
}
.cart-v2-checkout-meta p {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.cart-v2-checkout-fee {
  font-size: 14px;
  font-weight: 800;
  color: var(--primary-dark);
}
.cart-v2-summary-brief {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.cart-v2-summary-count { font-size: 12px; color: var(--text-muted); }
.cart-v2-summary-price {
  font-size: 13px;
  color: #1a1a1a;
}
.cart-v2-summary-price strong {
  font-size: 20px;
  font-weight: 800;
  color: var(--price-orange);
}
.cart-v2-summary-tab {
  display: flex;
  align-items: center;
  gap: 12px;
  bottom: var(--tab-bar-clearance);
  padding: 10px var(--page-gutter) calc(10px + var(--safe-bottom));
}
.cart-v2-summary-tab .cart-v2-checkout-btn {
  width: auto;
  min-width: 120px;
  flex-shrink: 0;
  padding: 14px 24px;
  text-align: center;
  text-decoration: none;
  line-height: 1.2;
}
.cart-v2-item-cover {
  flex-shrink: 0;
  width: 96px;
  height: 96px;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f8ed, #f0fdf4);
}
.cart-v2-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cart-v2-item-body { flex: 1; min-width: 0; }
.cart-v2-item-body h4 {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
  line-height: 1.3;
}
.cart-v2-item-meta {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.cart-v2-rent-line {
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
}
.cart-v2-rent-line strong { color: var(--primary-dark); }
.cart-v2-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 13px;
  color: #666;
}
.cart-v2-step-btn {
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cart-v2-step-btn:active { background: #d1fae5; }
.cart-v2-stepper input {
  width: 44px;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 6px 4px;
  font-weight: 700;
  background: #fff;
}
.cart-v2-line-fee {
  font-size: 13px;
  color: #666;
  margin-bottom: 6px;
}
.cart-v2-line-fee strong {
  color: var(--primary-dark);
  font-size: 15px;
  font-weight: 800;
}
.cart-v2-remove {
  border: none;
  background: none;
  color: #999;
  font-size: 12px;
  cursor: pointer;
  padding: 4px 0;
}
.cart-v2-remove:active { color: var(--red); }
.cart-v2-summary {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 210;
  background: #fff;
  border-top: 1px solid #eee;
  padding: 14px var(--page-gutter) calc(14px + var(--safe-bottom));
  box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.1);
}
.cart-v2-summary-rows { margin-bottom: 12px; }
.cart-v2-summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #666;
  padding: 4px 0;
}
.cart-v2-summary-row strong {
  color: #1a1a1a;
  font-weight: 700;
}
.cart-v2-summary-deposit span {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
}
.cart-v2-summary-deposit i { color: var(--primary); }
.cart-v2-summary-deposit-owed strong { color: #ea580c; }
.cart-v2-summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0 0;
  border-top: 1px dashed #e5e7eb;
  margin-top: 4px;
}
.cart-v2-summary-total span {
  font-size: 14px;
  font-weight: 600;
  color: #1a1a1a;
}
.cart-v2-summary-total strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--price-orange);
}
.cart-v2-checkout-btn {
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(50, 193, 94, 0.35);
}
.cart-v2-checkout-btn:disabled { opacity: 0.5; }
.cart-v2-checkout-btn:active { transform: scale(0.99); }
.cart-v2-empty {
  text-align: center;
  padding: 80px var(--page-gutter);
  color: var(--text-muted);
}
.cart-v2-empty i {
  font-size: 56px;
  color: #d1d5db;
  margin-bottom: 16px;
}
.cart-v2-empty p {
  font-size: 17px;
  font-weight: 700;
  color: #666;
  margin-bottom: 6px;
}
.cart-v2-empty span {
  display: block;
  font-size: 13px;
  margin-bottom: 24px;
}
.cart-v2-empty-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(50, 193, 94, 0.3);
}

/* ===== 租车记录 V2 ===== */
.record-v2-page {
  background: #f5f7f6;
  min-height: 100vh;
  padding-bottom: var(--tab-bar-clearance);
}
.record-v2-tabs-wrap {
  position: sticky;
  top: 0;
  z-index: 15;
  background: #fff;
  border-bottom: 1px solid #f0f0f0;
  padding: 10px var(--page-gutter) 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.record-v2-tabs {
  display: flex;
  gap: 8px;
  background: #f5f7f6;
  border-radius: 12px;
  padding: 4px;
}
.record-v2-tab {
  flex: 1;
  text-align: center;
  padding: 10px 4px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  color: #666;
  text-decoration: none;
  position: relative;
  line-height: 1.2;
}
.record-v2-tab em {
  display: block;
  font-style: normal;
  font-size: 10px;
  margin-top: 2px;
  color: var(--text-muted);
  font-weight: 500;
}
.record-v2-tab em.is-warn { color: var(--red); }
.record-v2-tab.active {
  background: #fff;
  color: var(--primary-dark);
  box-shadow: 0 2px 8px rgba(50, 193, 94, 0.15);
}
.record-v2-tab.active em { color: var(--primary); }
.record-v2-list {
  padding: 12px var(--page-gutter) 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.record-v2-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}
.record-v2-card.is-overdue {
  border: 1px solid #fecaca;
  box-shadow: 0 2px 12px rgba(239, 68, 68, 0.1);
}
.record-v2-card-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  text-decoration: none;
  color: inherit;
}
.record-v2-card-link:active { background: #fafafa; }
.record-v2-cover {
  flex-shrink: 0;
  width: 88px;
  height: 88px;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f8ed, #f0fdf4);
}
.record-v2-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.record-v2-body {
  flex: 1;
  min-width: 0;
}
.record-v2-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 4px;
}
.record-v2-title-row h4 {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.35;
  flex: 1;
  min-width: 0;
}
.record-v2-badge {
  flex-shrink: 0;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  font-weight: 700;
}
.record-v2-badge.is-active { background: var(--primary-light); color: var(--primary-dark); }
.record-v2-badge.is-pending { background: #FFF7ED; color: #EA580C; }
.record-v2-badge.is-unpaid { background: #FEF2F2; color: #DC2626; }
.record-v2-badge.is-ship { background: #EFF6FF; color: #2563EB; }
.record-v2-badge.is-overdue { background: #FEE2E2; color: #B91C1C; }
.record-v2-badge.is-done { background: #F3F4F6; color: #6B7280; }
.record-v2-brand {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}
.record-v2-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 12px;
  color: #666;
}
.record-v2-meta i {
  width: 14px;
  margin-right: 4px;
  color: var(--primary);
  font-size: 11px;
}
.record-v2-code strong {
  letter-spacing: 1px;
  color: var(--primary-dark);
  font-weight: 800;
}
.record-v2-fee {
  margin-top: 8px;
  font-size: 13px;
  color: #666;
}
.record-v2-fee strong {
  color: var(--primary-dark);
  font-size: 15px;
  font-weight: 800;
}
.record-v2-arrow {
  flex-shrink: 0;
  align-self: center;
  color: #d1d5db;
  font-size: 12px;
}
.record-v2-card-foot {
  display: flex;
  gap: 8px;
  padding: 0 14px 14px;
  border-top: 1px solid #f5f5f5;
  padding-top: 12px;
  margin-top: 0;
}
.record-v2-foot-btn {
  flex: 1;
  padding: 10px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border: 1px solid var(--border);
  background: #fff;
  color: #666;
  cursor: pointer;
}
.record-v2-foot-btn.is-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-color: transparent;
  color: #fff;
}
.record-v2-foot-btn.is-danger {
  background: #fef2f2;
  border-color: #fecaca;
  color: #b91c1c;
}
.record-v2-empty {
  text-align: center;
  padding: 64px var(--page-gutter) 40px;
}
.record-v2-empty-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #d1d5db;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}
.record-v2-empty h3 {
  font-size: 17px;
  font-weight: 700;
  color: #666;
  margin-bottom: 8px;
}
.record-v2-empty p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
}
.record-v2-empty-btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(50, 193, 94, 0.3);
}

/* ===== 在线客服 ===== */
body.cs-open { overflow: hidden; }
.cs-fab {
  position: fixed;
  right: 14px;
  bottom: calc(var(--tab-bar-clearance) + 14px);
  z-index: 190;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 52px;
  height: 52px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--primary), var(--primary-dark));
  color: #fff;
  box-shadow: 0 6px 20px rgba(50, 193, 94, 0.45);
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
}
.cs-fab i { font-size: 20px; line-height: 1; }
.cs-fab-label {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1;
}
.cs-fab:active {
  transform: scale(0.94);
}
.cs-modal {
  position: fixed;
  inset: 0;
  z-index: 330;
  display: none;
  align-items: flex-end;
  justify-content: center;
}
.cs-modal.is-open { display: flex; }
.cs-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.48);
}
.cs-modal-sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  max-height: 88vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 20px 20px 0 0;
  padding: 20px 18px calc(24px + var(--safe-bottom));
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
  animation: cs-sheet-up 0.28s ease-out;
}
@keyframes cs-sheet-up {
  from { transform: translateY(100%); opacity: 0.6; }
  to { transform: translateY(0); opacity: 1; }
}
.cs-modal-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.cs-modal-head-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.cs-modal-head h3 {
  font-size: 18px;
  font-weight: 800;
  color: #1a1a1a;
  margin-bottom: 2px;
}
.cs-modal-head p {
  font-size: 12px;
  color: var(--text-muted);
}
.cs-modal-close {
  margin-left: auto;
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #f5f5f5;
  color: #666;
  cursor: pointer;
  flex-shrink: 0;
}
.cs-modal-qr {
  text-align: center;
  padding: 16px;
  margin-bottom: 14px;
  background: linear-gradient(180deg, #f8faf9 0%, #fff 100%);
  border-radius: 14px;
  border: 1px solid #eef2ef;
}
.cs-modal-qr img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  margin: 0 auto 10px;
  border-radius: 8px;
  background: #fff;
}
.cs-modal-qr p {
  font-size: 12px;
  color: var(--text-muted);
}
.cs-modal-info {
  background: #fafafa;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 14px;
}
.cs-modal-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 14px;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  color: inherit;
}
.cs-modal-row:last-child { border-bottom: none; }
.cs-modal-row.is-link:active { background: #f5f5f5; }
.cs-modal-row-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.cs-modal-row-icon.is-green { background: var(--primary-light); color: var(--primary-dark); }
.cs-modal-row-icon.is-blue { background: #EFF6FF; color: #2563EB; }
.cs-modal-row-icon.is-orange { background: #FFF7ED; color: #EA580C; }
.cs-modal-row-body {
  flex: 1;
  min-width: 0;
}
.cs-modal-row-body strong {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 2px;
}
.cs-modal-row-body em {
  display: block;
  font-style: normal;
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  word-break: break-all;
}
.cs-modal-row-action {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--primary-light);
}
button.cs-modal-row-action {
  border: none;
  cursor: pointer;
}
.cs-modal-tip {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.65;
  text-align: center;
  padding: 0 8px 14px;
}
.cs-modal-feedback {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px;
  border-radius: 12px;
  background: #f5f7f6;
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.cs-modal-feedback:active { background: #eef2ef; }

/* ===== 详情页分享弹层 ===== */
body.detail-share-open { overflow: hidden; }
.detail-share-modal {
  position: fixed;
  inset: 0;
  z-index: 320;
  display: none;
  align-items: flex-end;
  justify-content: center;
}
.detail-share-modal.is-open {
  display: flex;
}
.detail-share-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.detail-share-sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 480px;
  max-height: 88vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 16px 16px calc(20px + var(--safe-bottom));
  box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
}
.detail-share-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}
.detail-share-head h3 {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0;
}
.detail-share-close {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #f5f5f5;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.detail-share-label {
  display: block;
  font-size: 13px;
  color: #999;
  margin-bottom: 8px;
}
.detail-share-link-row {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
}
.detail-share-link-row input {
  flex: 1;
  min-width: 0;
  padding: 10px 12px;
  border: 1px solid #eee;
  border-radius: 8px;
  font-size: 13px;
  color: #333;
  background: #fafafa;
}
.detail-share-copy-btn,
.detail-share-poster-btn {
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.detail-share-copy-btn {
  padding: 10px 16px;
  background: var(--primary);
  color: #fff;
  white-space: nowrap;
}
.detail-share-poster-btn {
  width: 100%;
  padding: 12px;
  background: var(--primary-light);
  color: var(--primary-dark);
}
.detail-share-poster-wrap {
  margin-top: 14px;
  text-align: center;
}
.detail-share-poster-wrap canvas {
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.detail-share-poster-hint {
  margin-top: 8px;
  font-size: 12px;
  color: #999;
}

/* ===== 热租榜单 ===== */
.hot-rank-page { background: var(--bg); padding-bottom: 24px; }
.hot-rank-hero {
  margin: 0 var(--page-gutter) 16px;
  padding: 20px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #166534 0%, var(--primary) 55%, #4ade80 100%);
  color: #fff;
  text-align: center;
  box-shadow: 0 8px 24px rgba(50, 193, 94, 0.25);
}
.hot-rank-hero-badge {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}
.hot-rank-hero h2 { font-size: 20px; font-weight: 700; margin-bottom: 6px; }
.hot-rank-hero p { font-size: 13px; opacity: 0.92; }
.hot-rank-hero-count {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  font-size: 12px;
}
.hot-rank-list { padding: 0 var(--page-gutter); }
.hot-rank-card {
  display: flex;
  align-items: stretch;
  gap: 12px;
  position: relative;
  margin-bottom: 12px;
  padding: 12px 12px 12px 14px;
  border-radius: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
  color: inherit;
  text-decoration: none;
  overflow: hidden;
}
.hot-rank-card--is-gold {
  background: linear-gradient(135deg, #fffbeb 0%, #fff 40%);
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.18);
}
.hot-rank-card--is-silver {
  background: linear-gradient(135deg, #f8fafc 0%, #fff 40%);
  box-shadow: 0 4px 16px rgba(100, 116, 139, 0.12);
}
.hot-rank-card--is-bronze {
  background: linear-gradient(135deg, #fff7ed 0%, #fff 40%);
  box-shadow: 0 4px 16px rgba(234, 88, 12, 0.12);
}
.hot-rank-badge {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 14px 0 12px 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 700;
  background: #f3f4f6;
  color: #6b7280;
  z-index: 2;
}
.hot-rank-badge.is-gold {
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  color: #fff;
}
.hot-rank-badge.is-silver {
  background: linear-gradient(135deg, #cbd5e1, #94a3b8);
  color: #fff;
}
.hot-rank-badge.is-bronze {
  background: linear-gradient(135deg, #fdba74, #ea580c);
  color: #fff;
}
.hot-rank-badge i { font-size: 10px; }
.hot-rank-cover {
  position: relative;
  flex-shrink: 0;
  width: 96px;
  height: 80px;
  margin-top: 8px;
}
.hot-rank-cover img,
.hot-rank-cover .book-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 10px;
  background: #f3f4f6;
}
.hot-rank-cover-tag {
  position: absolute;
  left: 4px;
  bottom: 4px;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
}
.hot-rank-body {
  flex: 1;
  min-width: 0;
  padding-top: 10px;
  padding-right: 44px;
}
.hot-rank-body h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hot-rank-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.hot-rank-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
}
.hot-rank-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--red);
  white-space: nowrap;
}
.hot-rank-price strong { font-size: 18px; }
.hot-rank-price span { font-size: 11px; font-weight: 400; color: var(--text-muted); }
.hot-rank-price em { font-style: normal; margin: 0 2px; color: #ddd; font-weight: 400; }
.hot-rank-price-muted { font-size: 13px; color: var(--text-muted); font-weight: 500; }
.hot-rank-rating {
  font-size: 12px;
  color: #f59e0b;
  white-space: nowrap;
}
.hot-rank-rating i { font-size: 11px; }
.hot-rank-rating span { color: var(--text-muted); margin-left: 2px; }
.hot-rank-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.hot-rank-tag {
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  background: #f3f4f6;
  color: var(--text-muted);
}
.hot-rank-tag.is-hot { background: #fff1f0; color: #f5222d; }
.hot-rank-tag.is-ok { background: var(--primary-light); color: var(--primary-dark); }
.hot-rank-tag.is-warn { background: #fff1f0; color: #f5222d; }
.hot-rank-cta {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(50, 193, 94, 0.35);
}
.hot-rank-empty {
  text-align: center;
  padding: 60px 24px;
  color: var(--text-muted);
}
.hot-rank-empty i { font-size: 48px; color: var(--primary-light); margin-bottom: 12px; }
.hot-rank-empty-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 24px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
}
.hot-rank-pagination { padding: 0 var(--page-gutter); justify-content: center; }

/* ===== 用户租赁排行榜 ===== */
.rent-rank-page {
  background: var(--bg);
  padding-bottom: calc(20px + var(--tab-bar-clearance));
}
.rent-rank-hero {
  margin: 0 var(--page-gutter) 16px;
  padding: 20px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 45%, #fde68a 100%);
  color: #78350f;
  text-align: center;
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.28);
}
.rent-rank-hero-badge {
  width: 48px;
  height: 48px;
  margin: 0 auto 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #92400e;
}
.rent-rank-hero h2 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
  color: #451a03;
}
.rent-rank-hero p {
  font-size: 13px;
  opacity: 0.88;
  margin: 0;
}
.rent-rank-hero-me {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.45);
  font-size: 12px;
  font-weight: 600;
}
.rent-rank-podium {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;
  padding: 0 var(--page-gutter) 20px;
}
.rent-rank-podium-item {
  flex: 1;
  max-width: 108px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 14px 8px 12px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.rent-rank-podium-item.is-first {
  padding-top: 18px;
  padding-bottom: 16px;
  transform: translateY(-8px);
  box-shadow: 0 8px 24px rgba(245, 158, 11, 0.2);
  border: 1px solid #fde68a;
}
.rent-rank-podium-avatar-wrap {
  position: relative;
  margin-bottom: 8px;
}
.rent-rank-podium-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.rent-rank-podium-item.is-first .rent-rank-podium-avatar {
  width: 64px;
  height: 64px;
  border-color: #fde68a;
}
.rent-rank-podium-medal {
  position: absolute;
  right: -4px;
  bottom: -2px;
  min-width: 22px;
  height: 22px;
  padding: 0 5px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  background: #94a3b8;
  border: 2px solid #fff;
}
.rent-rank-podium-medal.is-gold { background: linear-gradient(135deg, #fbbf24, #f59e0b); }
.rent-rank-podium-medal.is-silver { background: linear-gradient(135deg, #cbd5e1, #94a3b8); }
.rent-rank-podium-medal.is-bronze { background: linear-gradient(135deg, #fdba74, #ea580c); }
.rent-rank-podium-name {
  font-size: 13px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 4px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rent-rank-podium-count {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.rent-rank-podium-score {
  font-size: 12px;
  font-weight: 700;
  color: #f59e0b;
}
.rent-rank-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--page-gutter) 10px;
}
.rent-rank-section-head h3 {
  font-size: 16px;
  font-weight: 700;
  margin: 0;
}
.rent-rank-section-head span {
  font-size: 12px;
  color: var(--text-muted);
}
.rent-rank-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 var(--page-gutter);
}
.rent-rank-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.rent-rank-item--is-gold {
  background: linear-gradient(135deg, #fffbeb 0%, #fff 50%);
}
.rent-rank-item--is-silver {
  background: linear-gradient(135deg, #f8fafc 0%, #fff 50%);
}
.rent-rank-item--is-bronze {
  background: linear-gradient(135deg, #fff7ed 0%, #fff 50%);
}
.rent-rank-item.is-me {
  border: 1px solid var(--primary);
  box-shadow: 0 4px 16px rgba(50, 193, 94, 0.15);
}
.rent-rank-num {
  width: 28px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  font-size: 14px;
  font-weight: 800;
  color: #94a3b8;
}
.rent-rank-num i { font-size: 9px; }
.rent-rank-num.is-gold { color: #f59e0b; }
.rent-rank-num.is-silver { color: #64748b; }
.rent-rank-num.is-bronze { color: #ea580c; }
.rent-rank-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: #f3f4f6;
}
.rent-rank-body {
  flex: 1;
  min-width: 0;
}
.rent-rank-body h4 {
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.rent-rank-body h4 em {
  display: inline-block;
  margin-left: 6px;
  padding: 1px 6px;
  border-radius: 999px;
  background: var(--primary-light);
  color: var(--primary-dark);
  font-size: 10px;
  font-style: normal;
  font-weight: 600;
}
.rent-rank-body p {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0;
}
.rent-rank-score {
  text-align: right;
  flex-shrink: 0;
}
.rent-rank-score strong {
  display: block;
  font-size: 18px;
  font-weight: 800;
  color: #f59e0b;
  line-height: 1.1;
}
.rent-rank-score small {
  font-size: 10px;
  color: var(--text-muted);
}
.rent-rank-empty {
  text-align: center;
  padding: 48px 24px;
  margin: 0 var(--page-gutter);
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
  color: var(--text-muted);
}
.rent-rank-empty i {
  font-size: 44px;
  color: #fde68a;
  margin-bottom: 12px;
}
.rent-rank-empty-sub {
  font-size: 12px;
  margin-top: 4px;
}
.rent-rank-empty-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 24px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

/* ===== 门店选择弹层 ===== */
.store-picker-modal {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.store-picker-modal[hidden] { display: none !important; }
body.store-picker-open { overflow: hidden; }
.store-picker-mask {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}
.store-picker-sheet {
  position: relative;
  width: 100%;
  max-width: 480px;
  max-height: 78vh;
  background: #fff;
  border-radius: 16px 16px 0 0;
  padding: 16px var(--page-gutter) calc(16px + var(--safe-bottom));
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: storePickerSlideUp 0.25s ease;
}
@keyframes storePickerSlideUp {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
.store-picker-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.store-picker-head h3 { font-size: 17px; font-weight: 700; margin: 0; }
.store-picker-close {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: #f3f4f6;
  color: #666;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.store-picker-hint {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 12px;
}
.store-picker-hint i { color: var(--primary); margin-right: 4px; }
.store-picker-list {
  overflow-y: auto;
  flex: 1;
  -webkit-overflow-scrolling: touch;
}
.store-picker-card {
  display: block;
  width: 100%;
  text-align: left;
  position: relative;
  margin-bottom: 10px;
  padding: 14px 44px 14px 14px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  cursor: pointer;
}
.store-picker-card.is-selected {
  border-color: var(--primary);
  background: var(--primary-light);
  box-shadow: 0 4px 12px rgba(50, 193, 94, 0.15);
}
.store-picker-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}
.store-picker-card-top strong {
  font-size: 15px;
  color: #1a1a1a;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.store-picker-dist {
  flex-shrink: 0;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: rgba(50, 193, 94, 0.12);
  padding: 2px 8px;
  border-radius: 999px;
}
.store-picker-addr {
  font-size: 12px;
  color: var(--text-muted);
  margin: 0 0 6px;
  line-height: 1.5;
}
.store-picker-meta {
  font-size: 11px;
  color: #999;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 8px;
  align-items: center;
}
.store-picker-meta em { font-style: normal; color: #ddd; }
.store-picker-meta i { margin-right: 3px; color: var(--primary); }
.store-picker-check {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-size: 11px;
}
.store-picker-card.is-selected .store-picker-check {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}
.store-picker-empty {
  text-align: center;
  padding: 32px 16px;
  color: var(--text-muted);
  font-size: 14px;
}

/* 租赁流程：押金与租金分步说明 */
.rental-flow-card {
  margin: 12px 12px 0;
  padding: 14px 16px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.rental-flow-card-compact { margin-top: 8px; padding: 12px 14px; }
.rental-flow-card-ok {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 100%);
  border: 1px solid #bbf7d0;
}
.rental-flow-card-ok p {
  margin: 0;
  font-size: 13px;
  color: #166534;
  line-height: 1.5;
}
.rental-flow-title {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: #333;
}
.rental-flow-title i { color: var(--primary); margin-right: 4px; }
.rental-flow-desc {
  margin: 0 0 10px;
  font-size: 12px;
  color: #666;
  line-height: 1.45;
}
.rental-flow-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.rental-flow-step {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: #666;
}
.rental-flow-step.is-current { color: #333; }
.rental-flow-step.is-current .rental-flow-num {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}
.rental-flow-num {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: #999;
  background: #f5f5f5;
}
.rental-flow-step strong { display: block; font-size: 13px; color: inherit; }
.rental-flow-step p { margin: 2px 0 0; font-size: 12px; color: #888; }
.rental-flow-banner {
  margin: 10px 12px 0;
  padding: 10px 14px;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  font-size: 12px;
  color: #9a3412;
  line-height: 1.45;
}
.rental-flow-banner i { margin-right: 4px; }
.rental-flow-banner-ok {
  background: #f0fdf4;
  border-color: #bbf7d0;
  color: #166534;
}
.bc-deposit-bar-rent {
  display: block;
  font-size: 13px;
  color: #333;
  margin-bottom: 2px;
}
.bc-deposit-bar-rent strong { color: var(--primary); }
.bc-deposit-bar-hint {
  display: block;
  font-size: 11px;
  color: #b45309;
  margin-top: 4px;
  line-height: 1.35;
}
.cart-v2-summary-deposit-tag {
  display: block;
  font-size: 11px;
  color: #ea580c;
  margin-top: 2px;
}
.cart-v2-checkout-deposit {
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%) !important;
}
.cart-v2-deposit-link-btn {
  display: block;
  margin-top: 12px;
  padding: 12px;
  text-align: center;
  background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  color: #fff;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
}
.cart-v2-deposit-link-btn i { margin-right: 6px; }

/* 取车核销页 V2 */
.pickup-v2-page {
  padding: 0 0 calc(24px + var(--safe-bottom));
  background: var(--bg);
}
.pickup-v2-status-bar {
  padding: 12px 16px 0;
}
.pickup-v2-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 20px;
  background: #ecfdf5;
  color: #047857;
  font-size: 13px;
  font-weight: 600;
}
.pickup-v2-status-badge.is-ship {
  background: #eff6ff;
  color: #1d4ed8;
}
.pickup-v2-vehicle {
  display: flex;
  gap: 14px;
  margin: 14px 16px;
  padding: 16px;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.pickup-v2-vehicle-cover {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  overflow: hidden;
  flex-shrink: 0;
  background: #f3f4f6;
}
.pickup-v2-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pickup-v2-vehicle-info h1 {
  margin: 0 0 4px;
  font-size: 17px;
  line-height: 1.35;
}
.pickup-v2-vehicle-info > p {
  margin: 0 0 8px;
  font-size: 13px;
  color: var(--text-muted);
}
.pickup-v2-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.pickup-v2-tags span {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 6px;
  background: #f3f4f6;
  color: #4b5563;
}
.pickup-v2-tag-paid {
  background: #ecfdf5 !important;
  color: #047857 !important;
}
.pickup-v2-store {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0 16px 14px;
  padding: 14px 16px;
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--shadow);
}
.pickup-v2-store-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pickup-v2-store strong { display: block; font-size: 15px; margin-bottom: 4px; }
.pickup-v2-store p { margin: 0; font-size: 12px; color: var(--text-muted); line-height: 1.45; }
.pickup-v2-store-hours { margin-top: 4px !important; }
.pickup-v2-store-call {
  margin-left: auto;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}
.pickup-v2-voucher {
  margin: 0 16px 14px;
  padding: 18px 16px;
  background: linear-gradient(180deg, #fff 0%, #f0fdf4 100%);
  border: 1px solid #bbf7d0;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(34, 197, 94, 0.12);
}
.pickup-v2-voucher-head h2 {
  margin: 0 0 6px;
  font-size: 16px;
  color: #166534;
}
.pickup-v2-voucher-head p {
  margin: 0 0 14px;
  font-size: 12px;
  color: #4b5563;
  line-height: 1.5;
}
.pickup-v2-qr-box {
  display: flex;
  justify-content: center;
  padding: 12px;
  background: #fff;
  border-radius: 12px;
  margin-bottom: 14px;
}
.pickup-v2-qr-canvas { display: block; }
.pickup-v2-code-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px;
  background: #fff;
  border-radius: 10px;
}
.pickup-v2-code-label { font-size: 12px; color: #6b7280; }
.pickup-v2-code {
  flex: 1;
  font-size: 26px;
  letter-spacing: 3px;
  color: var(--primary-dark);
  font-variant-numeric: tabular-nums;
}
.pickup-v2-copy {
  border: 1px solid #d1d5db;
  background: #fff;
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  color: #374151;
}
.pickup-v2-pickup-deadline {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed #bbf7d0;
  font-size: 13px;
  color: #b45309;
}
.pickup-v2-pickup-deadline strong {
  font-size: 18px;
  font-variant-numeric: tabular-nums;
}
.pickup-v2-steps {
  margin: 0 16px 16px;
  padding: 16px;
  background: #fff;
  border-radius: 14px;
}
.pickup-v2-steps h3 { margin: 0 0 12px; font-size: 14px; }
.pickup-v2-steps ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pickup-v2-steps li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: #9ca3af;
}
.pickup-v2-steps li span {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
}
.pickup-v2-steps li.is-done { color: #047857; }
.pickup-v2-steps li.is-done span { background: #dcfce7; color: #047857; }
.pickup-v2-steps li.is-current { color: #111; }
.pickup-v2-steps li.is-current span { background: var(--primary); color: #fff; }
.pickup-v2-steps li strong { display: block; }
.pickup-v2-steps li p { margin: 2px 0 0; font-size: 12px; }
.pickup-v2-actions {
  padding: 0 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pickup-v2-btn {
  display: block;
  padding: 14px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  text-decoration: none;
  font-size: 15px;
}
.pickup-v2-btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
}
.pickup-v2-btn-ghost {
  background: #fff;
  color: var(--primary-dark);
  border: 1px solid #e5e7eb;
}

/* 租赁倒计时板块 */
.rental-countdown-panel {
  margin: 0 16px 16px;
  padding: 16px;
  background: linear-gradient(135deg, #064e3b 0%, #047857 100%);
  border-radius: 16px;
  color: #fff;
  box-shadow: 0 8px 24px rgba(4, 120, 87, 0.25);
}
.rental-countdown-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}
.rental-countdown-panel-head h2 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}
.rental-countdown-panel-head span {
  font-size: 11px;
  opacity: 0.85;
}
.rental-countdown-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  background: rgba(255,255,255,0.12);
  border-radius: 12px;
  margin-bottom: 10px;
}
.rental-countdown-item:last-child { margin-bottom: 0; }
.rental-countdown-item.is-overdue {
  background: rgba(239, 68, 68, 0.25);
}
.rental-countdown-item-cover {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}
.rental-countdown-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.rental-countdown-item-body strong {
  display: block;
  font-size: 14px;
  margin-bottom: 2px;
}
.rental-countdown-item-sub {
  font-size: 11px;
  opacity: 0.85;
}
.rental-countdown-display {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 8px;
}
.rental-countdown-display span { font-size: 12px; opacity: 0.9; }
.rental-countdown-display em {
  font-style: normal;
  font-size: 28px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
}
.rental-card-countdown {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 6px 0 8px;
  padding: 8px 10px;
  background: #ecfdf5;
  border-radius: 8px;
}
.rental-card-countdown.is-overdue { background: #fef2f2; }
.rental-countdown-label { font-size: 12px; color: #047857; }
.rental-card-countdown.is-overdue .rental-countdown-label { color: #dc2626; }
.rental-card-countdown .rental-countdown {
  font-size: 18px;
  font-weight: 700;
  color: #047857;
  font-variant-numeric: tabular-nums;
}
.rental-card-countdown.is-overdue .rental-countdown { color: #dc2626; }

/* 租车页 — 订单流程条 */
.rental-flow-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 0 16px 12px;
  padding: 10px 12px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.rental-flow-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-decoration: none;
  color: #9ca3af;
  font-size: 11px;
  min-width: 0;
}
.rental-flow-step-num {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
}
.rental-flow-step-text em {
  font-style: normal;
  display: inline-block;
  min-width: 16px;
  padding: 0 5px;
  margin-left: 2px;
  border-radius: 8px;
  background: #f3f4f6;
  font-size: 10px;
  font-weight: 700;
}
.rental-flow-step.has-count { color: #374151; }
.rental-flow-step.has-count .rental-flow-step-num { background: #dcfce7; color: #047857; }
.rental-flow-step.has-count .rental-flow-step-text em { background: #fef3c7; color: #b45309; }
.rental-flow-step.is-current { color: var(--primary-dark); font-weight: 600; }
.rental-flow-step.is-current .rental-flow-step-num {
  background: var(--primary);
  color: #fff;
}
.rental-flow-arrow {
  font-size: 10px;
  color: #d1d5db;
  flex-shrink: 0;
}

/* 租车页 — 全局倒计时横条（租赁中任意 Tab 可见） */
.rental-live-bar {
  display: block;
  margin: 0 16px 14px;
  padding: 0;
  text-decoration: none;
  color: inherit;
  border-radius: 14px;
  background: linear-gradient(135deg, #065f46 0%, #059669 50%, #10b981 100%);
  box-shadow: 0 8px 28px rgba(5, 150, 105, 0.35);
  position: sticky;
  top: calc(var(--safe-top, 0px) + 4px);
  z-index: 20;
}
.rental-live-bar.is-overdue {
  background: linear-gradient(135deg, #991b1b 0%, #dc2626 50%, #ef4444 100%);
  box-shadow: 0 8px 28px rgba(220, 38, 38, 0.35);
}
.rental-live-bar-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  color: #fff;
}
.rental-live-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.rental-live-text {
  flex: 1;
  min-width: 0;
}
.rental-live-text strong {
  display: block;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rental-live-text span {
  display: block;
  font-size: 11px;
  opacity: 0.9;
  margin-top: 2px;
}
.rental-live-time {
  text-align: right;
  flex-shrink: 0;
}
.rental-live-time em {
  display: block;
  font-style: normal;
  font-size: 22px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  letter-spacing: 1px;
  line-height: 1.1;
}
.rental-live-more {
  display: block;
  font-size: 10px;
  opacity: 0.85;
  margin-top: 2px;
}
.rental-live-arrow {
  font-size: 12px;
  opacity: 0.7;
  flex-shrink: 0;
}
.rental-countdown-panel-compact {
  margin-top: 0;
  background: #fff;
  color: #333;
  box-shadow: var(--shadow);
}
.rental-countdown-panel-compact .rental-countdown-panel-head h2 {
  color: #333;
  font-size: 14px;
}
.rental-countdown-panel-compact .rental-countdown-item {
  background: #f9fafb;
}
.rental-countdown-panel-compact .rental-countdown-display em {
  color: #047857;
  font-size: 22px;
}
.rental-countdown-panel-compact .rental-countdown-item.is-overdue .rental-countdown-display em {
  color: #dc2626;
}
