/* ============================================================
   三角洲行动租号 · 前台模块样式 (叠加于 app.css)
   ============================================================ */
:root {
  --s3-bg: #0a0e1a;
  --s3-panel: #131a2c;
  --s3-panel2: #1a2338;
  --s3-border: rgba(148, 163, 210, 0.14);
  --s3-text: #e9edf7;
  --s3-muted: #8b93ab;
  --s3-primary: #6c5ce7;
  --s3-cyan: #22d3ee;
  --s3-gold: #ffb648;
  --s3-ok: #2ed573;
  --s3-danger: #ff5e6c;
  --s3-warn: #ffa502;
}

/* ---------- 专区 tab ---------- */
.dl-zone-tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.dl-zone-tab {
  padding: 8px 18px; border-radius: 999px; font-size: 13.5px; color: var(--s3-muted);
  background: var(--s3-panel); border: 1px solid var(--s3-border); cursor: pointer; transition: all .15s;
}
.dl-zone-tab:hover { color: #fff; border-color: var(--s3-primary); }
.dl-zone-tab.active {
  color: #fff; border-color: transparent; font-weight: 700;
  background: linear-gradient(135deg, #7b5cff, #3aa9ff);
  box-shadow: 0 4px 14px rgba(108, 92, 231, .35);
}
.dl-zone-tab small { font-weight: 400; opacity: .75; margin-left: 4px; }

/* ---------- 账号卡片 ---------- */
.dl-acc-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 14px; margin-top: 4px;
}
.dl-acc-card {
  position: relative; background: var(--s3-panel); border: 1px solid var(--s3-border);
  border-radius: 14px; overflow: hidden; display: flex; flex-direction: column;
  transition: transform .18s, border-color .18s, box-shadow .18s;
  height: 100%;
}
.dl-acc-card:hover { transform: translateY(-3px); border-color: rgba(123, 92, 255, .6); box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.dl-acc-link { position: absolute; inset: 0; z-index: 1; }
.dl-acc-cover, .dl-acc-body { position: relative; }
.dl-acc-cover { aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg, #1c2440, #0e1428); position: relative; }
/* 封面内角标统一定位参照；默认标签样式走桌面（右上），移动端再精修 */
.dl-acc-cover img { width: 100%; height: 100%; object-fit: cover; }
.dl-acc-cover .acc-grad {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 44px; font-weight: 900; color: rgba(255,255,255,.28);
}
.dl-zone-badge {
  position: absolute; top: 10px; left: 10px; padding: 2px 10px; border-radius: 999px;
  font-size: 12px; font-weight: 700; color: #fff; backdrop-filter: blur(4px);
}
.dl-zone-normal   { background: rgba(108, 92, 231, .88); }
.dl-zone-discount { background: rgba(255, 165, 2, .9); }
.dl-zone-lowval   { background: rgba(34, 211, 238, .85); }
.dl-zone-night    { background: rgba(60, 74, 120, .9); }
.dl-zone-premium  { background: linear-gradient(135deg, #ff5e6c, #ff9a3c); }
.dl-discount-tag {
  position: absolute; top: 10px; right: 10px; padding: 2px 10px; border-radius: 999px;
  background: rgba(255, 94, 108, .92); color: #fff; font-size: 12px; font-weight: 700;
}
.dl-status-dot {
  align-self: flex-start; padding: 2px 9px; border-radius: 999px;
  font-size: 11px; color: #fff; display: inline-flex; align-items: center; gap: 4px;
  background: rgba(20, 30, 52, .88); white-space: nowrap;
}
.dl-status-dot::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--s3-ok); box-shadow: 0 0 6px var(--s3-ok); }
.dl-status-dot.offline::before { background: var(--s3-muted); box-shadow: none; }
/* 详情页封面角标：封面内仍悬浮于右下角（卡片流内徽标不受影响） */
.dl-acc-cover .dl-status-dot { position: absolute; bottom: 10px; right: 10px; }
.dl-acc-body { padding: 10px 13px 12px; display: flex; flex-direction: column; gap: 5px; flex: 1; }
/* 桌面卡片内部为 flex 纵向排布，用 gap 拉开 标题/标签/统计/脚注 间距（只作用桌卡，不影响手机矩阵卡） */
.dl-acc-body .acc-desk { display: flex; flex-direction: column; gap: 9px; flex: 1; min-width: 0; }
/* 标题固定两行：不足补白、超出省略，保证下方内容各卡对齐 */
.dl-acc-title {
  font-size: 15.5px; font-weight: 800; color: #fff; line-height: 1.35;
  min-height: calc(1.35em * 2); max-height: calc(1.35em * 2); overflow: hidden;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.dl-acc-title a:hover, .dl-acc-card:hover .dl-acc-title a { color: var(--s3-gold); }
/* 标签固定单行，超出隐藏（不横向滚动，避免行高抖动） */
.dl-acc-tags { display: flex; flex-wrap: nowrap; gap: 6px; overflow: hidden; height: 24px; }
.dl-acc-tags .dl-chip { flex: none; padding: 2px 10px; font-size: 12px; }
.dl-chip {
  display: inline-block; padding: 1px 9px; font-size: 11.5px; border-radius: 6px; color: #b9c4ff;
  background: rgba(123, 92, 255, .14); border: 1px solid rgba(123, 92, 255, .3);
  white-space: nowrap; flex-shrink: 0;
}
.dl-chip.gray { color: var(--s3-muted); background: rgba(140,150,175,.1); border-color: var(--s3-border); }
.dl-chip.gold { color: var(--s3-gold); background: rgba(255,182,72,.12); border-color: rgba(255,182,72,.35); }
.dl-chip.knife { color: #ffd479; background: linear-gradient(135deg, rgba(255,160,40,.2), rgba(255,90,160,.14)); border-color: rgba(255,150,60,.45); }
.dl-chip.cyan { color: var(--s3-cyan); background: rgba(34,211,238,.1); border-color: rgba(34,211,238,.3); }
.dl-chip.red { color: #ff9aa2; background: rgba(255,94,108,.1); border-color: rgba(255,94,108,.35); }
.dl-acc-meta { display: flex; align-items: flex-end; justify-content: space-between; margin-top: auto; }
.dl-price { font-size: 22px; font-weight: 900; color: var(--s3-gold); line-height: 1; letter-spacing: .2px; }
.dl-price small { font-size: 12px; font-weight: 500; color: var(--s3-muted); }
.dl-acc-row { display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--s3-muted); }
.dl-acc-row b { color: #cdd3e8; font-weight: 600; }
/* ---------- 租号大厅 · 网格/列表视图切换 ---------- */
.dl-view-switch { display: inline-flex; align-items: center; gap: 3px; padding: 3px; border: 1px solid var(--s3-border); border-radius: 10px; background: var(--s3-panel2); }
.dl-view-switch button {
  border: none; background: transparent; color: var(--s3-muted);
  padding: 5px 10px; border-radius: 7px; cursor: pointer; font-size: 14px; line-height: 1;
  transition: color .15s, background .15s;
}
.dl-view-switch button:hover { color: var(--s3-text); background: color-mix(in srgb, var(--s3-primary) 12%, transparent); }
.dl-view-switch button.on { background: var(--s3-primary); color: #fff; }

/* 列表视图：横向单行卡片 */
.dl-list-wrap { display: none; flex-direction: column; gap: 10px; margin-top: 4px; }
.dl-lrow {
  display: flex; gap: 12px; padding: 10px 12px;
  background: var(--s3-panel); border: 1px solid var(--s3-border); border-radius: 14px;
  /* 固定行高：所有账号行尺寸一致，切换筛选/排序时不再忽大忽小 */
  height: 200px; box-sizing: border-box; overflow: hidden;
}
/* 封面固定规格 240×180（行高 200 - 上下 padding 20），object-fit 保证不留白 */
.dl-lrow-cover { position: relative; width: 240px; height: 180px; flex: none; border-radius: 10px; overflow: hidden; }
.dl-lrow-cover img, .dl-lrow-cover .acc-grad { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dl-lrow-cover .acc-grad { display: flex; align-items: center; justify-content: center; font-size: 24px; color: rgba(255,255,255,.5); }
.dl-lrow-main { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; gap: 6px; justify-content: center; overflow: hidden; }
/* 标题：跟随主题色（避免浅色主题下白字不可见），单行省略 */
.dl-lrow-main .t { min-width: 0; }
.dl-lrow-main .t a {
  display: block; font-size: 15.5px; font-weight: 800; color: var(--s3-text);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dl-lrow-main .t a:hover { color: var(--s3-gold); }
.dl-lrow-main .ol { font-size: 12px; color: var(--s3-muted); }
/* 标签固定一行，超出隐藏，避免行高被撑开 */
.dl-lrow-main .chips { display: flex; flex-wrap: nowrap; gap: 4px; height: 24px; overflow: hidden; }
.dl-lrow-main .chips .dl-chip { flex: none; }
/* 统计固定 4 列 × 2 行 */
.dl-lrow-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: repeat(2, 42px); gap: 6px; }
.dl-lrow-stats .cell {
  text-align: center; padding: 5px 2px; border-radius: 8px;
  display: flex; flex-direction: column; justify-content: center; overflow: hidden;
  background: rgba(148, 163, 210, .07); border: 1px solid var(--s3-border);
}
.dl-lrow-stats b { display: block; font-size: 13.5px; font-weight: 700; color: var(--s3-text); }
.dl-lrow-stats span { display: block; font-size: 10.5px; color: var(--s3-muted); margin-top: 1px; }
.dl-lrow-side {
  width: 148px; flex: none; display: flex; flex-direction: column; gap: 6px;
  border-left: 1px dashed var(--s3-border); padding-left: 12px; justify-content: center;
}
.dl-lrow-side .dep, .dl-lrow-side .rent { display: flex; justify-content: space-between; align-items: baseline; font-size: 12.5px; color: var(--s3-muted); }
.dl-lrow-side b { font-size: 15px; font-weight: 800; }
.dl-lrow-side .dep b { color: var(--s3-text); }
.dl-lrow-side .rent b { color: var(--s3-danger); font-size: 18px; }

/* ---------- 分页 ---------- */
.dl-pagination {
  display: flex; align-items: center; justify-content: center; flex-wrap: wrap;
  gap: 10px; margin: 28px 0 10px; user-select: none;
}
.dl-pagination .pg-nums { display: flex; align-items: center; gap: 8px; }
.dl-pagination .pg-num {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 36px; height: 36px; padding: 0 6px; border-radius: 50%;
  font-size: 13.5px; font-weight: 600; color: var(--s3-text);
  background: var(--s3-panel); border: 1px solid var(--s3-border);
  transition: all .18s ease;
}
.dl-pagination .pg-num:hover { border-color: var(--s3-primary); color: var(--s3-primary); transform: translateY(-1px); }
.dl-pagination .pg-num.on {
  color: #fff; border-color: transparent; cursor: default; pointer-events: none;
  background: linear-gradient(135deg, var(--s3-primary), var(--s3-primary-2, #6a4cff));
  box-shadow: 0 4px 12px color-mix(in srgb, var(--s3-primary) 40%, transparent);
}
.dl-pagination .pg-ellipsis { color: var(--s3-muted); padding: 0 2px; }
.dl-pagination .pg-btn {
  display: inline-flex; align-items: center; height: 36px; padding: 0 16px;
  border-radius: 18px; font-size: 13.5px; font-weight: 600; color: var(--s3-text);
  background: var(--s3-panel); border: 1px solid var(--s3-border); transition: all .18s ease;
}
.dl-pagination .pg-btn:hover:not(.dis) { border-color: var(--s3-primary); color: var(--s3-primary); transform: translateY(-1px); }
.dl-pagination .pg-btn.dis { opacity: .4; cursor: not-allowed; }
.dl-pagination .pg-info { font-size: 12.5px; color: var(--s3-muted); }
.dl-pagination .pg-info b { color: var(--s3-primary); font-size: 14px; }
/* 前往 X 页 */
.dl-pagination .pg-jump {
  display: inline-flex; align-items: center; gap: 6px; margin-left: 4px;
  font-size: 12.5px; color: var(--s3-muted);
}
.dl-pagination .pg-input {
  width: 56px; height: 36px; padding: 0 8px; text-align: center;
  font-size: 13.5px; font-weight: 600; color: var(--s3-text);
  background: var(--s3-panel); border: 1px solid var(--s3-border);
  border-radius: 10px; outline: none; transition: border-color .18s ease;
  -moz-appearance: textfield;
}
.dl-pagination .pg-input::-webkit-outer-spin-button,
.dl-pagination .pg-input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.dl-pagination .pg-input:focus { border-color: var(--s3-primary); box-shadow: 0 0 0 3px color-mix(in srgb, var(--s3-primary) 14%, transparent); }
.dl-pagination .pg-go {
  height: 36px; padding: 0 14px; border-radius: 18px; cursor: pointer;
  font-size: 13px; font-weight: 700; color: #fff; border: none;
  background: linear-gradient(135deg, var(--s3-primary), var(--s3-primary-2, #6a4cff));
  transition: transform .18s ease, box-shadow .18s ease;
}
.dl-pagination .pg-go:hover { transform: translateY(-1px); box-shadow: 0 4px 12px color-mix(in srgb, var(--s3-primary) 40%, transparent); }

@media (max-width: 860px) {
  .dl-lrow { flex-wrap: wrap; height: auto; overflow: visible; }
  .dl-lrow-cover { width: 42%; height: auto; aspect-ratio: 3 / 2; }
  .dl-lrow-main { flex: 1 1 100%; order: 3; overflow: visible; }
  .dl-lrow-main .chips { flex-wrap: wrap; height: auto; }
  .dl-lrow-stats { grid-template-rows: auto; }
  .dl-lrow-side { width: auto; flex: 1; border-left: none; padding-left: 0; }
}

/* 网格统计块：数值在上、名称在下，竖线分隔（押金 / 比例 / AWM） */
.dl-acc-stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: rgba(148, 163, 210, .07); border: 1px solid var(--s3-border); border-radius: 10px;
  overflow: hidden;
}
.dl-acc-stats .cell {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 10px 2px; border-left: 1px solid var(--s3-border);
}
.dl-acc-stats .cell:first-child { border-left: none; }
.dl-acc-stats b { font-size: 14px; font-weight: 800; color: var(--s3-text); }
.dl-acc-stats b.gold { color: var(--s3-gold); }
.dl-acc-stats span { font-size: 11px; color: var(--s3-muted); letter-spacing: .2px; }
.dl-acc-stats b.lt { font-size: 12px; color: #b9c5ff; white-space: nowrap; }
[data-theme="light"] .dl-acc-stats b.lt { color: #4a5aa8; }
[data-theme="light"] .dl-acc-stats { background: #f6f8fd; border-color: rgba(32, 45, 90, .12); }
[data-theme="light"] .dl-acc-stats .cell { border-color: rgba(32, 45, 90, .1); }

/* 价格 + 押金/租期 + 在线状态 一行：金额 → 押金 → 租期（租期最后） */
.dl-acc-foot { display: flex; align-items: center; gap: 8px; }
.dl-acc-foot .dl-status-dot { margin-left: auto; flex: none; }
.dl-acc-foot .foot-sub {
  font-size: 11.5px; color: var(--s3-muted); flex: 1 1 auto; min-width: 0;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.dl-acc-foot .foot-sub .lb { color: var(--s3-muted); }
/* 用户中心导航图标（桌面端行内显示，移动端宫格竖排） */
.user-nav a i { font-style: normal; }
.dl-acc-meta-col b { color: #cdd3e8; font-weight: 600; }
.dl-rent-btn {
  display: block; text-align: center; margin-top: 10px; padding: 10px; border-radius: 10px;
  font-weight: 800; font-size: 14.5px; letter-spacing: .3px; color: #101426;
  background: linear-gradient(135deg, #ffd76a, #ffb648);
  box-shadow: 0 6px 16px rgba(255,182,72,.25); transition: all .18s;
  position: relative; z-index: 2;
}
/* 卡片内按钮贴底对齐（列表行不受影响） */
.dl-acc-body .dl-rent-btn { margin-top: auto; }
.dl-rent-btn:hover { filter: brightness(1.08); }

/* 移动端筛选抽屉的头部/底部条：桌面端不显示 */
.dl-sheet-head, .dl-sheet-foot { display: none; }
.dl-sheet-body { display: block; }
/* 桌面端：隐藏移动抽屉内的搜索框与「更多条件」折叠，让左栏回到 9/8 桌面形态（手机端抽屉保留） */
@media (min-width: 769px) {
  .dl-search, .dl-adv-in-drawer { display: none; }
  /* 桌面端不再显示左侧筛选空栏（移动端 768 内仍作底部抽屉） */
  .dl-shop > aside.dl-side-panel { display: none; }
}

/* ---------- 大厅布局 ---------- */
.dl-shop { display: grid; grid-template-columns: 1fr; gap: 14px; align-items: start; margin-top: 18px; }
.dl-side-panel { background: var(--s3-panel); border: 1px solid var(--s3-border); border-radius: 14px; padding: 12px; }
.dl-side-panel h4 { font-size: 13px; font-weight: 800; margin-bottom: 8px; color: #fff; text-align: center; }
.dl-cat-list { list-style: none; }
.dl-cat-list a { display: block; padding: 5px 10px; border-radius: 8px; font-size: 13px; color: #b9c1d8; margin-bottom: 1px; }
.dl-cat-list a:hover { background: rgba(255,255,255,.05); color: #fff; }
.dl-cat-list a.on { background: rgba(123,92,255,.2); color: #fff; font-weight: 700; }
.dl-filters { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; }
.dl-fchip {
  padding: 5px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; color: #bcc5dd;
  border: 1px solid var(--s3-border); background: rgba(255,255,255,.03); cursor: pointer;
  transition: color .15s, border-color .15s, background .15s, box-shadow .15s, transform .12s;
}
.dl-fchip:hover {
  color: #fff; border-color: color-mix(in srgb, var(--s3-primary) 55%, transparent);
  background: rgba(123,92,255,.14); transform: translateY(-1px);
}
.dl-fchip.on {
  color: #fff; font-weight: 700; border-color: transparent;
  background: linear-gradient(135deg, #7b5cff, #3aa9ff);
  box-shadow: 0 5px 14px color-mix(in srgb, var(--s3-primary) 45%, transparent);
}
/* 刀皮筛选 · 文字标签式 */
.dl-ktag {
  display: inline-flex; align-items: center; line-height: 1.8;
  padding: 1px 4px; border-radius: 8px; font-size: 13.5px; color: var(--s3-muted);
  background: transparent; cursor: pointer; transition: color .15s, background .15s;
}
.dl-ktag:hover { color: #fff; }
.dl-ktag.on {
  color: #fff; background: #3b82f6; padding: 3px 14px; font-weight: 600;
  box-shadow: 0 2px 8px rgba(59,130,246,.35);
}
/* ---------- 顶部胶囊筛选条（分类展开选择，参考站交互） ---------- */
.dl-top-filters {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
  padding: 10px 12px; overflow: visible;
  background: linear-gradient(135deg, rgba(123,92,255,.10), rgba(34,211,238,.04));
  border: 1px solid rgba(148,163,210,.16);
  border-radius: 12px;
}
.dl-pill { position: relative; flex: 0 0 auto; }
.dl-pill-btn {
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  padding: 8px 16px; border-radius: 10px; font-size: 13.5px; font-weight: 600;
  color: var(--s3-text); background: rgba(255,255,255,.04);
  border: 1px solid rgba(148,163,210,.22); cursor: pointer;
  transition: color .15s, border-color .15s, background .15s, box-shadow .15s, transform .15s;
}
.dl-pill-btn:hover {
  color: #fff; border-color: color-mix(in srgb, var(--s3-primary) 60%, transparent);
  background: rgba(123,92,255,.16); transform: translateY(-1px);
}
.dl-pill-btn .dl-pill-label { font-weight: 700; letter-spacing: .2px; }
.dl-pill-btn.on {
  color: #fff; border-color: transparent; font-weight: 700;
  background: linear-gradient(135deg, #7b5cff, #3aa9ff);
  box-shadow: 0 6px 18px color-mix(in srgb, var(--s3-primary) 45%, transparent);
}
.dl-pill-btn .dl-pill-val {
  font-weight: 800; font-size: 12.5px; margin-left: 2px;
  padding: 1px 9px; border-radius: 7px; color: var(--s3-gold);
  background: rgba(255,255,255,.16);
}
.dl-pill-chev { width: 12px; height: 12px; opacity: .7; transition: transform .15s; }
.dl-pill.open .dl-pill-chev { transform: rotate(180deg); }
.dl-pill-panel {
  position: absolute; top: calc(100% + 8px); left: 0; z-index: 99990;
  min-width: 210px; max-width: 340px; max-height: 62vh; overflow: auto;
  background: var(--s3-panel); border: 1px solid var(--s3-border); border-radius: 14px;
  padding: 12px 14px; box-shadow: 0 16px 40px rgba(0,0,0,.5); display: none;
}
.dl-pill.open .dl-pill-panel { display: block; }
.dl-pill-panel .pp-title {
  font-size: 12.5px; font-weight: 800; color: var(--s3-text); margin-bottom: 10px;
  letter-spacing: .4px; text-transform: uppercase; padding-bottom: 8px;
  border-bottom: 1px dashed var(--s3-border);
}
.dl-pill-panel .pp-chips { display: flex; flex-wrap: wrap; gap: 7px; padding-top: 2px; }
.dl-pill-panel .pp-chips .dl-fchip { flex: 0 0 auto; }
.dl-pill-panel .pp-range { display: flex; align-items: center; gap: 6px; margin-top: 2px; }
.dl-pill-panel .pp-range input {
  width: 84px; padding: 7px 9px; border-radius: 8px; font-size: 12.5px;
  background: var(--s3-panel2); color: var(--s3-text); border: 1px solid var(--s3-border); outline: none;
}
.dl-pill-panel .pp-range input:focus { border-color: var(--s3-primary); }
.dl-pill-panel .pp-range .dash { color: var(--s3-muted); }
.dl-pill-panel .pp-apply {
  width: 100%; margin-top: 12px; padding: 8px; border-radius: 9px; font-size: 13px; font-weight: 700;
  color: #fff; background: linear-gradient(135deg, #7b5cff, #3aa9ff); border: none; cursor: pointer;
}
.dl-pill-panel .pp-apply:hover { opacity: .92; }
.dl-more-btn {
  display: inline-flex; align-items: center; gap: 3px; line-height: 1.6;
  margin-left: 6px; padding: 3px 12px; border-radius: 8px; font-size: 12.5px; font-weight: 600;
  color: #60a5fa; background: rgba(59,130,246,.14); border: none; cursor: pointer;
  text-decoration: none;
}
.dl-more-btn:hover { color: #fff; background: rgba(59,130,246,.3); }
.dl-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.dl-toolbar select { background: var(--s3-panel2); color: var(--s3-text); border: 1px solid var(--s3-border); padding: 6px 10px; border-radius: 8px; font-size: 13px; outline: none; }
/* 顶栏搜索框（桌面端）：整盒圆角 + 左侧放大镜 + 右侧搜索按钮 + 聚焦光环 */
.dl-top-search {
  display: flex; align-items: stretch; flex: 0 0 auto; margin-left: auto;
  height: 38px; width: 300px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--s3-border); background: var(--s3-panel2);
  transition: border-color .15s, box-shadow .15s, background-color .15s;
}
.dl-top-search:hover { border-color: color-mix(in srgb, var(--s3-primary) 45%, var(--s3-border)); }
.dl-top-search:focus-within {
  border-color: var(--s3-primary);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--s3-primary) 18%, transparent);
  background: var(--s3-panel);
}
.dl-top-search input[type="text"] {
  flex: 1 1 auto; min-width: 0; height: 100%; padding: 0 10px 0 34px;
  font-size: 13.5px; color: var(--s3-text); background: transparent;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2393a0be' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: 10px center; background-size: 15px;
  border: none; outline: none; text-overflow: ellipsis;
}
.dl-top-search input[type="text"]::placeholder { color: var(--s3-muted); }
.dl-top-search button {
  flex: 0 0 auto; width: 46px; border: none; cursor: pointer; align-self: stretch;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #7b5cff, #3aa9ff); color: #fff;
  transition: opacity .15s, filter .15s;
}
.dl-top-search button:hover { opacity: .92; filter: brightness(1.05); }
.dl-top-search button:active { filter: brightness(.95); }
/* 视图切换：更醒目的激活态 */
.dl-view-switch button { font-size: 16px; }
.dl-view-switch button.on { background: linear-gradient(135deg, #7b5cff, #3aa9ff); }
/* 结果数文案：强调数字 */
.dl-total-count { color: var(--s3-muted); font-size: 12.5px; padding: 5px 12px; border: 1px solid var(--s3-border); border-radius: 10px; background: var(--s3-panel2); white-space: nowrap; }
.dl-total-count b { color: var(--s3-gold); font-weight: 800; margin: 0 1px; }
/* 高级筛选入口(桌面右上)：与搜索框/视图切换同一视觉语言 */
.dl-advbtn {
  display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto;
  min-height: 32px; padding: 5px 14px; border-radius: 8px;
  font-size: 12.5px; font-weight: 600; color: var(--s3-muted);
  background: var(--s3-panel2); border: 1px solid var(--s3-border);
  cursor: pointer; text-decoration: none; white-space: nowrap;
  transition: color .15s, border-color .15s, background-color .15s;
}
.dl-advbtn:hover {
  color: var(--s3-primary);
  border-color: color-mix(in srgb, var(--s3-primary) 45%, var(--s3-border));
  background: var(--s3-panel);
}
.dl-adv-panel { display: none; margin-top: 8px; padding: 12px 14px; background: var(--s3-panel2); border: 1px solid var(--s3-border); border-radius: 12px; }
.dl-adv-panel form { display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; }
.dl-adv-item { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--s3-muted); }
.dl-adv-item select { background: var(--s3-panel); color: var(--s3-text); border: 1px solid var(--s3-border); padding: 5px 8px; border-radius: 8px; font-size: 12.5px; outline: none; }

/* 大厅吸顶：滚动时仅账号列表滚动，顶部排序/左侧筛选固定 */
.dl-crumb { position: sticky; top: 62px; z-index: 60; background: var(--s3-bg); margin-top: 14px; padding-bottom: 14px; }
.dl-shop > div > .dl-side-panel { position: sticky; top: 98px; z-index: 55; background: var(--s3-panel); }
.dl-shop > aside.dl-side-panel { position: sticky; top: 98px; z-index: 55; max-height: calc(100vh - 98px - 20px); overflow-y: auto; direction: rtl; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.18) rgba(255,255,255,.05); }
.dl-shop > aside.dl-side-panel > * { direction: ltr; }
.dl-shop > aside.dl-side-panel::-webkit-scrollbar { width: 6px; }
.dl-shop > aside.dl-side-panel::-webkit-scrollbar-track { background: rgba(255,255,255,.05); border-radius: 6px; }
.dl-shop > aside.dl-side-panel::-webkit-scrollbar-thumb { background: rgba(255,255,255,.18); border-radius: 6px; }
.dl-shop > aside.dl-side-panel::-webkit-scrollbar-thumb:hover { background: rgba(123,92,255,.6); }

/* ---------- 详情页 ---------- */
.dl-detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 18px; align-items: start; margin-top: 16px; }
.dl-detail-main, .dl-detail-side { min-width: 0; }
.dl-detail-side { position: sticky; top: 80px; align-self: start; }
.dl-side-card {
  background: var(--s3-panel); border: 1px solid var(--s3-border);
  border-radius: 14px; padding: 18px;
}
.dl-side-card h3 { font-size: 15px; color: var(--s3-muted); font-weight: 600; margin: 16px 0 8px; }
.dl-side-card h3:first-child { margin-top: 0; }
.dl-big-price { font-size: 30px; font-weight: 900; color: var(--s3-gold); }
.dl-big-price small { font-size: 13px; color: var(--s3-muted); font-weight: 500; }
.dl-fee-row { display: flex; justify-content: space-between; font-size: 13.5px; padding: 6px 0; color: #c6cde2; border-bottom: 1px dashed var(--s3-border); }
.dl-fee-row.total { font-size: 15px; font-weight: 800; color: #fff; border-bottom: none; }
.dl-fee-row .free { color: var(--s3-ok); font-weight: 700; }
.dl-note { background: rgba(34, 211, 238, .07); border: 1px solid rgba(34,211,238,.25); border-radius: 9px; padding: 10px 12px; font-size: 12.5px; color: #9be8f6; margin-top: 12px; }
.dl-warn-note { background: rgba(255,165,2,.08); border: 1px solid rgba(255,165,2,.3); border-radius: 9px; padding: 10px 12px; font-size: 12.5px; color: #ffce8a; margin-top: 12px; }
.dl-spec-title { font-size: 19px; font-weight: 800; margin: 18px 0 10px; padding-left: 10px; border-left: 4px solid var(--s3-primary); }
.dl-spec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(158px, 1fr)); gap: 10px; }
.dl-spec-item { background: var(--s3-panel); border: 1px solid var(--s3-border); border-radius: 12px; padding: 10px 12px; }
.dl-spec-item span { display: block; font-size: 12px; color: var(--s3-muted); }
.dl-spec-item b { font-size: 16px; color: #fff; }
.dl-spec-item b small { font-size: 11px; color: var(--s3-muted); font-weight: 500; margin-left: 2px; }
.dl-skin-group { margin-bottom: 8px; }
.dl-skin-group span.k { font-size: 13px; color: var(--s3-muted); margin-right: 8px; }
.dl-skin-group .val { color: #e7eaf6; font-size: 13.5px; }
.dl-goods-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.dl-goods-table th, .dl-goods-table td { text-align: left; padding: 7px 8px; border-bottom: 1px dashed var(--s3-border); }
.dl-goods-table th { color: var(--s3-muted); font-weight: 600; }
.dl-goods-table .qty { color: #ffd76a; font-weight: 700; }
.dl-kv { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; font-size: 13.5px; }
.dl-kv > div { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px dashed var(--s3-border); }
.dl-kv .k { color: var(--s3-muted); }
.dl-kv .v { color: #e4e8f6; font-weight: 600; text-align: right; }
.dl-content-box { background: var(--s3-panel); border: 1px solid var(--s3-border); border-radius: 14px; padding: 16px 18px; margin-top: 14px; }
.dl-rules { list-style: none; counter-reset: r; }
.dl-rules li { counter-increment: r; position: relative; padding: 8px 0 8px 38px; color: #c6cde2; font-size: 13.5px; border-bottom: 1px dashed var(--s3-border); }
.dl-rules li:last-child { border-bottom: none; }
.dl-rules li::before { content: counter(r); position: absolute; left: 0; top: 8px; width: 24px; height: 24px; border-radius: 50%; background: rgba(123,92,255,.22); color: #b3a5ff; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; }
.dl-crumb { color: var(--s3-muted); font-size: 13px; margin-top: 14px; }
.dl-crumb a:hover { color: var(--s3-cyan); }
.dl-crumb .sep { margin: 0 6px; color: var(--s3-border); }

/* ---------- 首页 ---------- */
.dl-home-zones { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.dl-zone-card { display: flex; flex-direction: column; gap: 5px; background: var(--s3-panel); border: 1px solid var(--s3-border); border-radius: 14px; padding: 18px; transition: all .18s; }
.dl-zone-card:hover { transform: translateY(-3px); border-color: rgba(123,92,255,.6); }
.dl-zone-card b { font-size: 17px; color: #fff; }
.dl-zone-card span { font-size: 12.5px; color: var(--s3-muted); }
.dl-steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 12px; }
.dl-step { background: var(--s3-panel); border: 1px solid var(--s3-border); border-radius: 14px; padding: 18px; }
.dl-step .n { width: 34px; height: 34px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 800; color: #fff; background: linear-gradient(135deg, #7b5cff, #22d3ee); margin-bottom: 10px; }
.dl-step b { font-size: 15px; }
.dl-step p { font-size: 12.5px; color: var(--s3-muted); margin-top: 5px; }
.dl-section-title { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; margin: 26px 0 14px; }
/* 标题后的装饰横线：flex:1 抢占剩余空间。注意它必须排在「查看全部」左侧 */
.dl-section-title::after { content: ''; flex: 1; height: 1px; background: linear-gradient(90deg, var(--s3-border), transparent); }
/* 区块标题右侧的「查看全部」等操作链接：贴最右
   注意：这里不能用 margin-left:auto —— ::after 是 flex:1，会先把剩余空间全部吃掉，
   留给 auto 外边距的空间为 0，链接仍会紧贴标题。用 order 把链接排到 ::after 之后。 */
.dl-section-title > .dl-sec-more {
  order: 1; flex: none; white-space: nowrap;
  font-size: 13px; font-weight: 500;
}

/* ---------- 表单 chips ---------- */
.dl-pick-wrap { display: flex; flex-wrap: wrap; gap: 7px; }
.dl-login-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; }
.dl-login-grid .dl-pick { text-align: center; }
.dl-pick {
  padding: 6px 13px; border-radius: 8px; font-size: 13px; cursor: pointer; user-select: none;
  color: #c3cadf; background: var(--s3-panel2); border: 1px solid var(--s3-border); transition: all .12s;
}
.dl-pick input { display: none; }
.dl-pick.on { color: #fff; background: rgba(123,92,255,.3); border-color: var(--s3-primary); box-shadow: 0 0 0 1px var(--s3-primary) inset; }
.dl-pick-label { font-size: 13px; }
.dl-input-tip { font-size: 12px; color: var(--s3-muted); margin-top: 4px; }
.dl-form-sec { background: var(--s3-panel); border: 1px solid var(--s3-border); border-radius: 14px; padding: 18px; margin-bottom: 16px; }
.dl-form-sec h3 { font-size: 15px; font-weight: 800; margin-bottom: 14px; padding-bottom: 9px; border-bottom: 1px dashed var(--s3-border); }
.dl-amount-preview { background: linear-gradient(135deg, rgba(123,92,255,.2), rgba(34,211,238,.1)); border: 1px solid rgba(123,92,255,.4); border-radius: 12px; padding: 12px 16px; margin-top: 12px; display: flex; gap: 22px; flex-wrap: wrap; }
.dl-amount-preview b { color: var(--s3-gold); font-size: 16px; }

/* ---------- VIP / 徽标 ---------- */
.dl-vip-tag { display: inline-block; padding: 0 7px; border-radius: 6px; font-size: 11px; font-weight: 800; color: #3a2b00; background: linear-gradient(135deg, #ffe28a, #ffb648); margin-left: 5px; vertical-align: 1px; }
.dl-quota-tag { display: inline-block; margin-top: 3px; padding: 0 8px; border-radius: 6px; font-size: 11.5px; color: var(--s3-cyan); background: rgba(34,211,238,.1); border: 1px solid rgba(34,211,238,.3); }

/* ---------- 订单/流水 ---------- */
.dl-stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; margin-bottom: 16px; }
.dl-stat-card { background: var(--s3-panel); border: 1px solid var(--s3-border); border-radius: 14px; padding: 15px; }
.dl-stat-card span { font-size: 12.5px; color: var(--s3-muted); }
.dl-stat-card b { display: block; font-size: 21px; margin-top: 3px; }
.dl-stat-card.gold { background: linear-gradient(135deg, rgba(255,182,72,.14), transparent); }
.dl-cred-box { background: #0d1426; border: 1px dashed rgba(34,211,238,.4); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
.dl-cred-box .row { display: flex; justify-content: space-between; padding: 5px 0; font-size: 14px; }
.dl-cred-box .row b { font-family: Consolas, Menlo, monospace; color: #7CFC9E; word-break: break-all; }

/* 数量输入 */
.dl-num { width: 84px; }

/* ============================================================
   移动端适配（大厅 / 详情 / 卡片等）
   ============================================================ */
/* 大厅“筛选条件”按钮：桌面隐藏，窄屏显示 */
.dl-fbtn { display: none; }
/* “排序:”标签：仅桌面显示，移动端不出现（见 @media min-width:1001px 内恢复） */
.dl-sort-label { display: none; }

@media (max-width: 1000px) {
  /* 大厅：左侧筛选改为上方折叠区，点击“筛选条件”展开 */
  .dl-shop { grid-template-columns: 1fr; gap: 10px; margin-top: 14px; }
  .dl-fbtn {
    display: inline-flex; align-items: center; gap: 6px; justify-self: start;
    padding: 7px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
    color: #fff; background: rgba(123, 92, 255, .3); border: 1px solid var(--s3-primary);
    cursor: pointer; margin-bottom: 2px;
  }
  .dl-fbtn:hover { background: rgba(123, 92, 255, .45); }
  .dl-shop > aside.dl-side-panel {
    position: static; max-height: none; direction: ltr; display: none;
    scrollbar-width: auto;
  }
  .dl-shop > aside.dl-side-panel::-webkit-scrollbar { width: auto; }
  .dl-shop.dl-filter-open > aside.dl-side-panel { display: block; }
  .dl-shop > div > .dl-side-panel { position: static; }
  .dl-shop > aside.dl-side-panel { margin-top: 0; }

  /* 详情页：下单卡置顶、图文单列 */
  .dl-detail-grid { grid-template-columns: 1fr; gap: 14px; margin-top: 12px; }
  .dl-detail-side { position: static; order: -1; }
}
/* 桌面端（>1000px）：l1/l2 只是手机端的两行分组容器，桌面“穿透”盒子让排序项
   直接参与排序条一行布局，恢复原有桌面排版（筛选靠右、计数徽章置右等） */
@media (min-width: 1001px) {
  /* sortwrap 撑满工具栏剩余宽度：否则排序行按内容收缩在左侧，靠右的组贴不到右端 */
  .dl-mob-filterbar .dl-sortwrap { flex: 1 1 auto; min-width: 0; }
  .dl-mob-filterbar .dl-sort-l1,
  .dl-mob-filterbar .dl-sort-l2 { display: contents; }
  /* 桌面端：l1/l2 只是手机端的两行分组容器，桌面“穿透”让排序项直接单行排列，
     并还原参考站的排序行 = 左：排序:+排序项；右（靠右）：高级筛选+计数徽章+视图切换 */
  .dl-mob-filterbar .dl-sort-label {
    display: inline-flex; align-items: center; flex: 0 0 auto;
    margin-right: 6px; color: var(--s3-muted); font-size: 13.5px;
  }
  /* 右端组按用户要求：先「共X个账号出租中」徽章，再「高级筛选」，两者一起靠右 */
  /* 「共X个账号出租中」：order:1 紧接「最新上架」之后排入右端组起始，margin-left:auto 贴右；
     flex 居中对齐，与「高级筛选」处在同一水平线上（block 基线摆放会导致偏上/偏下） */
  .dl-mob-filterbar .dl-sort-l2 .dl-total-row {
    order: 1; margin-left: auto;
    display: flex; align-items: center;
  }
  /* 「高级筛选/筛选」：order:2 排在计数徽章右侧，与徽章一同靠右 */
  .dl-mob-filterbar .dl-filter-trigger {
    flex: 0 0 auto; display: inline-flex; align-items: center;
    gap: 8px; order: 2;
  }
  /* 仅窄屏显示的元素（如排序条里的登录方式下拉）：
     769px 起顶部筛选条已显示，这里隐藏避免与顶部胶囊重复 */
  .dl-mob-only { display: none; }
  /* 计数徽章与「高级筛选」等高同款：32px 高、同内距/圆角/字号 */
  .dl-mob-filterbar .dl-total-count {
    display: inline-flex; align-items: center;
    min-height: 32px; padding: 5px 14px;
    border-radius: 8px; font-size: 12.5px;
  }
}
/* 769–1000px（大屏手机横屏/折叠屏/平板竖屏）：
   该区间已走窄屏单列布局，排序条沿用移动端固定两行形态，
   抵消桌面区 .dl-filter-trigger 的 margin-left:auto（否则筛选被推到右侧留白） */
@media (min-width: 769px) and (max-width: 1000px) {
  .dl-mob-filterbar .dl-sortwrap { flex: 1 1 auto; width: auto; min-width: 0; }
  .dl-mob-filterbar .dl-sortbar { display: block; padding-bottom: 0; margin: 0; }
  .dl-mob-filterbar .dl-sort-l1,
  .dl-mob-filterbar .dl-sort-l2 {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px; width: 100%;
  }
  .dl-mob-filterbar .dl-sort-l2 { margin-top: 8px; }
  .dl-mob-filterbar .dl-filter-trigger { margin-left: 0; }
  /* 该区间顶部筛选条已显示，隐藏排序条内的移动端专属控件，避免重复 */
  .dl-mob-only { display: none; }
  /* 该区间也显示「高级筛选」，计数徽章需与它等高同款，否则一高一低 */
  .dl-mob-filterbar .dl-total-count {
    display: inline-flex; align-items: center;
    min-height: 32px; padding: 5px 14px;
    border-radius: 8px; font-size: 12.5px;
  }
}
@media (max-width: 620px) {
  .dl-acc-grid { grid-template-columns: repeat(auto-fill, minmax(148px, 1fr)); gap: 10px; }
  .dl-acc-body { padding: 10px 12px 12px; gap: 7px; }
  .dl-acc-title { font-size: 13.5px; min-height: 0; line-height: 1.3; }
  .dl-price { font-size: 17px; }
  .dl-acc-row { font-size: 11px; }
  .dl-acc-cover .acc-grad { font-size: 30px; }
  .dl-chip { font-size: 10.5px; padding: 1px 7px; }
  .dl-status-dot { font-size: 10px; padding: 1px 8px; }
  .dl-rent-btn { padding: 8px; font-size: 13px; margin-top: 7px; }
  .dl-section-title { font-size: 17px; margin: 22px 0 12px; }
  .dl-side-panel { padding: 10px; }
  .dl-ktag { font-size: 12.5px; }
  .dl-kv { grid-template-columns: 1fr; }
  .dl-spec-item b { font-size: 14px; }
  .dl-big-price { font-size: 24px; }
  .dl-detail-side .dl-side-card { padding: 14px; }
  .dl-goods-table { font-size: 12px; }
  .dl-home-zones { grid-template-columns: repeat(auto-fit, minmax(156px, 1fr)); gap: 10px; }
  .dl-zone-card { padding: 14px; }
  .dl-step { padding: 14px; }
  .dl-login-grid { gap: 6px; }
  .dl-pick { padding: 6px 10px; font-size: 12.5px; }
  .dl-amount-preview { gap: 12px; padding: 10px 12px; }
  .dl-crumb { position: static; }
}

/* ============================================================
 * 手机端补强（≤768px）：消灭内容溢出/裁切，放大触控目标
 * 说明：本文件在 app.css 之后加载，同名规则以本文件为准
 * ============================================================ */
@media (max-width: 768px) {
  /* 1) 标签换行：不再单行截断到屏幕外 */
  .dl-acc-tags { flex-wrap: wrap; height: auto; overflow: visible; row-gap: 5px; }
  .dl-lrow-main .chips { flex-wrap: wrap; height: auto; overflow: visible; }
  .dl-acc-tags .dl-chip, .dl-lrow-main .chips .dl-chip { max-width: 100%; }

  /* 2) 详情页：标题/内容允许折行，避免把容器撑宽 */
  .dl-detail-main h1, .dl-detail-main h2, .dl-detail-main .dl-title {
    white-space: normal; word-break: break-word; overflow-wrap: anywhere;
  }
  .dl-detail-main, .dl-detail-side, .dl-content-box { min-width: 0; max-width: 100%; }
  .dl-content-box { padding: 14px 12px; }
  .dl-detail-grid { gap: 12px; }

  /* 3) 顶部工具条：允许换行，视图切换按钮不溢出 */
  .dl-toolbar { flex-wrap: wrap; gap: 8px; row-gap: 8px; }
  .dl-toolbar > * { min-width: 0; }
  .dl-view-switch { flex: 0 0 auto; }
  .dl-view-switch button { padding: 6px 10px; font-size: 14px; min-height: 34px; }

  /* 4) 触控目标 ≥32px */
  .dl-ktag { padding: 5px 12px; line-height: 1.5; font-size: 13px; min-height: 32px; }
  .dl-ktag.on { padding: 5px 14px; }
  .dl-fchip { padding: 7px 12px; min-height: 34px; }
  .dl-chip { padding: 3px 9px; }
  .dl-crumb a, .auth-foot a, .dl-crumb .sep { display: inline-block; padding: 8px 6px; }
  .auth-foot { line-height: 2; }
  .site-footer a, .footer a, footer a,
  .footer-grid a, .footer-bottom a { display: inline-block; padding: 10px 0; line-height: 1.6; }
  .dl-acc-title a { display: inline-block; padding: 5px 0; }
  .user-drop a { padding: 12px; }
  .dl-toolbar select, .dl-toolbar input { min-height: 36px; }
  .dl-view-switch button { min-width: 42px; }

  /* 5) 栅格项允许收缩，避免被内部 min-content 撑出屏幕 */
  .dl-shop { grid-template-columns: minmax(0, 1fr); }
  .dl-shop > div, .dl-acc-grid, .dl-side-panel,
  .dl-detail-grid, .detail-top, .user-layout { min-width: 0; }
  .dl-side-panel { overflow-x: hidden; }

  /* 6) 用户中心：侧栏/主区必须允许收缩，横滑导航不再把栅格顶开（否则宽达 920px） */
  .user-layout { grid-template-columns: minmax(0, 1fr); }
  .user-side, .user-main, .user-card, .user-card .user-info { min-width: 0; width: 100%; }
  .user-nav { min-width: 0; width: 100%; }
  .user-card .wallet-mini a, .user-info a, .quick-actions a { display: inline-block; padding: 9px 6px; }

  /* 7) 发布/表单页：多列变单列，单选复选与分段按钮可点区域加大 */
  .form-row { display: flex; flex-wrap: wrap; gap: 0; }
  .form-row > .form-item { flex: 1 1 100%; min-width: 0; }
  input[type=radio], input[type=checkbox] { width: 18px; height: 18px; min-width: 18px; flex: none; }
  label:has(input[type=radio]), label:has(input[type=checkbox]) {
    display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding-right: 8px;
  }
  .dl-pick { min-height: 38px; padding: 8px 12px; }
  .wd-qr-pick { width: 108px !important; height: 108px !important; }
  .dl-num, input[type=number] { min-height: 38px; padding: 6px 10px; }
  .user-main a { display: inline-block; padding: 8px 0; }

  /* 8) 首页/大厅卡片：两列更宽松，价格与按钮更醒目 */
  .dl-acc-grid { gap: 10px; }
  .dl-acc-body { padding: 10px 11px 12px; }
  .dl-rent-btn { padding: 10px; font-size: 14px; }
  .dl-acc-cover { aspect-ratio: 4 / 3; }
  .dl-acc-stats .cell { padding: 7px 2px; }
  .dl-acc-foot { flex-wrap: wrap; row-gap: 2px; }
  .dl-price { font-size: 19px; }

  /* 9) 按钮最小宽度：避免「充值/提现」这类窄按钮不好点 */
  .btn-primary, .btn-outline, .btn-link, .btn-danger, .btn-warn, .btn-xs { min-width: 68px; }
  /* 排序/筛选项横滑，避免堆成好几行 */
  .dl-filters { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
  .dl-filters::-webkit-scrollbar { display: none; }
  .dl-fchip { flex: 0 0 auto; }
}

/* 详情页移动端底部操作栏：桌面端隐藏（仅 ≤768px 手机端显示） */
.dl-mobile-cta { display: none; }

/* ============================================================
 * 手机端 App 化 UI（≤768px）—— 原生应用风格，非桌面缩放
 * ============================================================ */
@media (max-width: 768px) {
  /* ---------- 1. App 顶栏：紧凑 52px，圆形图标按钮 ---------- */
  .site-header .header-inner { height: 52px; }
  .logo-text { font-size: 16px; }
  .nav-toggle, .theme-toggle { width: 36px; height: 36px; border-radius: 12px; font-size: 15px; }
  .user-name {
    width: 38px; height: 38px; padding: 0; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0; white-space: nowrap; overflow: hidden;
  }
  .user-name::before { content: '👤'; font-size: 17px; }

  /* ---------- 2. 大厅：排序条吸顶 + 单列大卡片（电商 App 风） ---------- */
  .dl-crumb { display: none; }
  .dl-toolbar {
    position: sticky; top: 52px; z-index: 60;
    background: var(--s3-bg, #0a0e1a);
    padding: 8px 0 6px; margin-bottom: 10px;
  }
  .dl-fbtn {
    border-radius: 999px; padding: 8px 16px; font-size: 13px;
    box-shadow: 0 4px 14px rgba(123, 92, 255, .35);
  }
  .dl-acc-grid { grid-template-columns: 1fr !important; gap: 14px; }
  .dl-acc-card { border-radius: 16px; box-shadow: 0 8px 24px rgba(0, 0, 0, .3); }
  .dl-acc-cover { aspect-ratio: 16 / 9; }
  .dl-acc-body { padding: 12px 14px 14px; gap: 8px; }
  .dl-acc-title { font-size: 16px; -webkit-line-clamp: 1; min-height: 0; max-height: none; white-space: nowrap; text-overflow: ellipsis; display: block; overflow: hidden; }
  .dl-acc-tags { gap: 6px; }
  .dl-chip { font-size: 12px; padding: 3px 10px; border-radius: 999px; }
  .dl-acc-stats { grid-template-columns: repeat(4, 1fr); }
  .dl-acc-stats .cell { padding: 9px 2px; }
  .dl-acc-stats b { font-size: 14.5px; }
  .dl-acc-stats b.lt { font-size: 10.5px; }
  .dl-price { font-size: 22px; }
  .dl-acc-foot .foot-sub { font-size: 12px; }
  .dl-rent-btn {
    margin-top: 10px; padding: 12px; font-size: 15px; border-radius: 12px;
    letter-spacing: 2px;
  }
  .dl-lrow-cover { width: 100%; height: auto; aspect-ratio: 16 / 9; border-radius: 14px 14px 0 0; }
  .dl-lrow { border-radius: 16px; }

  /* ---------- 3. 详情页：底部固定操作栏（仿商品页购买条） ---------- */
  .dl-mobile-cta {
    display: flex; align-items: center; gap: 12px;
    position: fixed; left: 0; right: 0;
    bottom: calc(88px + env(safe-area-inset-bottom, 0));
    z-index: 800;
    padding: 10px 14px;
    background: rgba(13, 18, 38, .92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-top: 1px solid var(--s3-border);
    box-shadow: 0 -8px 30px rgba(0, 0, 0, .45);
  }
  .dl-mobile-cta .p { flex: 0 0 auto; }
  .dl-mobile-cta .p small { display: block; font-size: 11px; color: var(--s3-muted); }
  .dl-mobile-cta .p b { font-size: 20px; font-weight: 900; color: var(--s3-gold); }
  .dl-mobile-cta .cta-btn {
    flex: 1; min-height: 46px; border: none; border-radius: 999px;
    font-size: 16px; font-weight: 800; letter-spacing: 1px; color: #101426;
    background: linear-gradient(135deg, #ffd76a, #ffb648);
    box-shadow: 0 6px 18px rgba(255, 182, 72, .4);
    text-align: center; text-decoration: none; display: flex; align-items: center; justify-content: center;
    cursor: pointer;
  }
  .dl-mobile-cta .cta-btn.ghost {
    color: #cdd3e8; background: rgba(255, 255, 255, .08);
    border: 1px solid var(--s3-border); box-shadow: none;
  }
  /* 详情内容底部避让操作栏 */
  .dl-detail-grid { padding-bottom: 76px; }
  .detail-cover img, .detail-cover .cover-ph { height: 230px; }

  /* ---------- 3.5 大厅顶部：横向滚动排序 + 右侧单个「筛选」按钮 ---------- */
  /* 刀皮/搜索/切换视图行：移动端隐藏，条件全部收进抽屉 */
  .dl-top-bar { display: none !important; }
  /* 排序 + 筛选 合并为一行：排序横滑，筛选固定在右（参考站：纯文字排序标签） */
  .dl-mob-filterbar {
    position: sticky; top: 52px; z-index: 60;
    display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
    background: var(--s3-panel); padding: 2px 0 4px; margin-bottom: 8px;
  }
  .dl-sortwrap {
    flex: 0 0 100%; width: 100%; min-width: 0;
  }
  .dl-sortbar {
    display: block; padding-bottom: 0; margin: 0;
  }
  /* 排序区固定两行：第一行 推荐/字段排序/筛选，第二行 最新上架/结果数 */
  .dl-sort-l1, .dl-sort-l2 {
    display: flex; flex-wrap: wrap; align-items: center; gap: 8px; width: 100%;
  }
  .dl-sort-l2 { margin-top: 8px; }
  /* 排序项 = 纯文字标签（作用域限定，避免影响抽屉里的胶囊 chips） */
  .dl-mob-filterbar .dl-sortbar .dl-fchip {
    flex: 0 0 auto; width: auto;
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 32px; padding: 5px 14px; border-radius: 8px;
    font-size: 13px; font-weight: 600;
    color: var(--s3-text); white-space: nowrap;
    border: 1px solid var(--s3-border); background: var(--s3-panel2);
    transition: color .15s, border-color .15s, background .15s, transform .12s;
  }
  .dl-mob-filterbar .dl-sortbar .dl-fchip:hover { color: var(--s3-primary); border-color: color-mix(in srgb, var(--s3-primary) 55%, transparent); background: rgba(123,92,255,.12); }
  .dl-mob-filterbar .dl-sortbar .dl-fchip.on {
    color: #fff; font-weight: 700; border-color: transparent;
    background: linear-gradient(135deg, #7b5cff, #3aa9ff);
    box-shadow: 0 5px 14px color-mix(in srgb, var(--s3-primary) 45%, transparent);
  }
  /* 未激活排序项不显示 ⇅ 箭头，保持纯文字 */
  .dl-mob-filterbar .dl-sortbar .dl-fchip:not(.on) b { display: none; }
  .dl-mob-filterbar .dl-sortbar .dl-fchip.on b { font-weight: 700; opacity: 1 !important; }
  /* 右侧触发器：浅色「筛选」胶囊（参考站样式） */
  .dl-filter-trigger { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; }
  .dl-mob-filterbar .dl-fbtn {
    display: inline-flex !important; align-items: center; gap: 5px;
    min-height: 32px; padding: 5px 14px; border-radius: 999px;
    font-size: 12.5px; font-weight: 600; cursor: pointer;
    color: var(--s3-text); background: var(--s3-panel2);
    border: 1px solid var(--s3-border); box-shadow: none; white-space: nowrap;
    transition: all .18s ease;
  }
  .dl-mob-filterbar .dl-fbtn:hover { color: var(--s3-primary); border-color: color-mix(in srgb, var(--s3-primary) 45%, transparent); }
  .dl-mob-filterbar .dl-fbtn.on {
    color: #fff; background: var(--s3-primary); border-color: transparent;
  }
  .dl-mob-filterbar .dl-fbtn svg { flex: 0 0 auto; width: 13px; height: 13px; }
  /* 桌面专属：高级筛选/视图切换按钮移动端隐藏（原随顶栏一起隐藏） */
  .dl-adv-btn, .dl-advbtn, .dl-view-switch { display: none; }
  /* 结果数：与「最新上架」同在第二行，作胶囊只包内容宽 */
  .dl-total-row {
    flex: 0 0 auto; display: flex; align-items: center;
  }
  .dl-total-count {
    flex: 0 0 auto; width: auto;
    display: inline-flex; align-items: center;
    font-size: 11px; color: var(--s3-muted);
    white-space: nowrap; line-height: 1;
    background: var(--s3-panel2); border: 1px solid var(--s3-border);
    padding: 4px 9px; border-radius: 6px;
  }
  .dl-total-count b { color: var(--s3-gold); font-weight: 700; margin: 0 1px; }

  /* ---------- 3.6 筛选 = 底部抽屉（Bottom Sheet） ---------- */
  .dl-shop > aside.dl-side-panel {
    position: fixed !important; left: 0; right: 0; bottom: 0; top: auto;
    /* 高于底部导航(z950)，否则抽屉底栏被 Tab 栏盖住 */
    z-index: 1200; display: flex; flex-direction: column;
    /* 用确定高度而非仅 max-height：flex 子项才会按容器收缩，body 才能滚动、底栏不被裁 */
    height: 82vh; max-height: 82vh; padding: 0; margin: 0; overflow: hidden;
    background: var(--s3-panel);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -14px 44px rgba(0, 0, 0, .55);
    transform: translateY(102%);
    transition: transform .28s cubic-bezier(.4, 0, .2, 1);
  }
  /* 打开态：保持 flex 列布局（≤1000px 区块有同优先级的 display:block 会覆盖，这里夺回来），body 才可滚动 */
  .dl-shop.dl-filter-open > aside.dl-side-panel { display: flex; transform: translateY(0); }
  /* 遮罩 */
  .dl-shop.dl-filter-open::before {
    content: ''; position: fixed; inset: 0; z-index: 1190;
    background: rgba(0, 0, 0, .55);
  }
  /* 抽屉头部 */
  .dl-sheet-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 14px 16px 10px; font-size: 16px; font-weight: 800;
    border-bottom: 1px solid var(--s3-border); flex: none; position: relative;
  }
  .dl-sheet-head::before { content: ''; width: 36px; height: 4px; border-radius: 999px; background: var(--s3-border); position: absolute; top: 6px; left: 50%; transform: translateX(-50%); }
  .dl-sheet-x {
    width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--s3-border);
    background: rgba(255, 255, 255, .06); color: var(--s3-text); font-size: 15px; cursor: pointer;
  }
  /* 抽屉内容滚动区：min-height:0 是关键，否则 flex 子项按内容撑高、被父级裁掉导致无法下滑 */
  .dl-sheet-body { overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 12px 16px 4px; flex: 1 1 auto; min-height: 0; }
  /* 抽屉底部操作条 */
  .dl-sheet-foot {
    display: flex; gap: 10px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0));
    border-top: 1px solid var(--s3-border); flex: none;
  }
  .dl-sheet-foot .btn-reset {
    flex: 0 0 96px; min-height: 46px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
    color: var(--s3-muted); border: 1px solid var(--s3-border); background: rgba(255, 255, 255, .05); text-decoration: none;
  }
  .dl-sheet-foot .btn-ok {
    flex: 1; min-height: 46px; border: none; border-radius: 999px; cursor: pointer;
    font-size: 15px; font-weight: 800; color: #101426;
    background: linear-gradient(135deg, #ffd76a, #ffb648);
    box-shadow: 0 6px 18px rgba(255, 182, 72, .35);
  }
  /* 抽屉内的筛选项：标签化 chips，更适合触屏 */
  .dl-cat-list { display: flex; flex-wrap: wrap; gap: 8px; }
  .dl-cat-list li a {
    display: inline-flex; align-items: center; min-height: 34px; padding: 6px 14px;
    border-radius: 999px; border: 1px solid var(--s3-border); background: rgba(255, 255, 255, .04);
    font-size: 13.5px; color: var(--s3-text);
  }
  .dl-cat-list li a.on { background: var(--s3-primary); border-color: transparent; color: #fff; font-weight: 700; }
  .dl-side-panel h4 { font-size: 13.5px; color: var(--s3-muted); margin: 14px 0 8px; }
  .dl-side-panel h4:first-child { margin-top: 0; }

  /* 抽屉内搜索框 */
  .dl-search input {
    width: 100%; min-height: 40px; padding: 9px 14px; border-radius: 999px;
    border: 1px solid var(--s3-border); background: rgba(255, 255, 255, .05);
    color: var(--s3-text); font-size: 13.5px; outline: none;
  }
  .dl-search input::placeholder { color: var(--s3-muted); }
  .dl-search input:focus { border-color: var(--s3-primary); }

  /* 抽屉内「更多条件」折叠 */
  .dl-adv-in-drawer { margin-top: 8px; border-top: 1px solid var(--s3-border); padding-top: 6px; }
  .dl-adv-toggle {
    display: flex; align-items: center; justify-content: center; gap: 6px;
    width: 100%; min-height: 40px; margin-top: 8px; border-radius: 999px; cursor: pointer;
    border: 1px dashed var(--s3-border); background: rgba(255, 255, 255, .04);
    color: var(--s3-muted); font-size: 13px; font-weight: 600;
  }
  .dl-adv-toggle svg { transition: transform .2s ease; }
  .dl-adv-toggle.open svg { transform: rotate(180deg); }
  .dl-adv-collapse { display: none; }
  .dl-adv-collapse.open { display: block; }

  /* chips 网格（刀皮/干员/武器/段位/潜水/洗消） */
  .dl-chip-grid { display: flex; flex-wrap: wrap; gap: 8px; }
  .dl-chip-grid .dl-fchip { padding: 8px 14px; }

  /* 范围输入 */
  .dl-adv-range { display: flex; align-items: center; gap: 8px; margin-top: 10px; }
  .dl-adv-range label { flex: 0 0 auto; font-size: 12.5px; color: var(--s3-muted); min-width: 88px; }
  .dl-adv-range input {
    flex: 1 1 auto; min-width: 0; min-height: 36px; padding: 7px 10px; border-radius: 9px;
    border: 1px solid var(--s3-border); background: rgba(255, 255, 255, .05);
    color: var(--s3-text); font-size: 13px; outline: none;
  }
  .dl-adv-range .dash { color: var(--s3-muted); }

  /* ---------- 4. 个人中心：App「我的」页 ---------- */
  .user-card {
    background: linear-gradient(135deg, rgba(123, 92, 255, .28), rgba(58, 169, 255, .12));
    border: 1px solid rgba(123, 92, 255, .35);
    border-radius: 16px; padding: 16px; box-shadow: 0 8px 24px rgba(123, 92, 255, .18);
  }
  .user-card .user-avatar { box-shadow: 0 4px 14px rgba(123, 92, 255, .5); }
  /* 导航改宫格（图标在上文字在下） */
  .user-nav {
    display: grid !important; grid-template-columns: repeat(4, 1fr);
    gap: 4px; padding: 12px 8px; overflow: visible;
    background: var(--panel); border: 1px solid var(--border); border-radius: 16px;
  }
  .user-nav li { flex: 0 0 auto; }
  .user-nav a {
    display: flex !important; flex-direction: column; align-items: center; gap: 6px;
    padding: 10px 2px 8px !important; border-radius: 12px; text-align: center;
    font-size: 11.5px !important; line-height: 1.2; min-height: 64px; justify-content: center;
  }
  .user-nav a i { font-style: normal; font-size: 21px; line-height: 1; }
  .user-nav a span { display: block; }
  .user-nav li.on a { background: rgba(123, 92, 255, .22); color: #fff; }

  /* ---------- 5. 通用卡片精修 ---------- */
  .panel { border-radius: 16px; box-shadow: 0 6px 20px rgba(0, 0, 0, .22); }
  .dl-content-box { border-radius: 16px; }
  .dl-side-card { border-radius: 16px; }
  .btn-primary { border-radius: 12px; }
  .site-footer { padding-bottom: 6px; }
}

/* ============================================================
 * 手机端视觉精修（v2）：细节质感统一，避免"半成品感"
 * ============================================================ */
@media (max-width: 768px) {
  /* ---------- 移动端隐藏整个页脚 ----------
     ·窄屏底部由固定 TabBar(首页/租号/发布/消息/我的) 承担导航，
      帮助中心/公告等入口已由顶部汉堡菜单覆盖；
     ·版权/备案信息在桌面端页脚保留，手机端按需求整体隐藏 */
  .site-footer { display: none !important; }

  /* ---------- 首页 Hero：紧凑双行大标题 + 胶囊搜索 ---------- */
  .hero { padding: 26px 0 30px; }
  .hero::before {
    content: ''; position: absolute; left: 50%; top: 34px; transform: translateX(-50%);
    width: 90px; height: 5px; border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(123, 92, 255, .8), rgba(34, 211, 238, .8), transparent);
  }
  .hero h1 { font-size: 24px; line-height: 1.35; letter-spacing: .5px; }
  .hero-sub { margin-top: 10px; font-size: 13px; color: #9aa3bd; max-width: 92%; margin-left: auto; margin-right: auto; }
  .hero-search {
    margin: 18px auto 0; padding: 5px; border-radius: 999px; max-width: 100%;
    background: rgba(255, 255, 255, .05); border: 1px solid rgba(123, 92, 255, .35);
    box-shadow: 0 10px 26px rgba(0, 0, 0, .35);
  }
  .hero-search input { padding: 9px 16px; font-size: 14px; }
  .hero-search button {
    border-radius: 999px; padding: 0 18px; font-size: 13px;
    background: linear-gradient(135deg, #ffd76a, #ffb648); color: #101426; font-weight: 700;
    box-shadow: 0 4px 12px rgba(255, 182, 72, .3);
  }
  .notice-bar.warn-bar {
    margin: 14px 0 0; border-radius: 14px; font-size: 13px;
    display: flex; align-items: center; gap: 6px;
  }
  .notice-bar.warn-bar .btn-link { margin-left: auto; flex: none; }
  /* 区块标题：粗 + 渐变强调，视觉上更"设计过" */
  .dl-section-title { font-size: 17px; margin: 24px 0 12px; gap: 8px; }
  .dl-section-title::before {
    content: ''; width: 4px; height: 16px; border-radius: 999px;
    background: linear-gradient(180deg, #7b5cff, #22d3ee);
  }
  .dl-section-title::after { opacity: .6; }
  /* 首页卡片列表在标题后直接展示，首个标题上方留白收紧 */
  .container > .dl-section-title:first-of-type { margin-top: 20px; }
  /* 租号流程：两列宫格卡片 */
  .dl-steps { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .dl-step { border-radius: 14px; padding: 14px 12px; border: 1px solid rgba(123, 92, 255, .18); }
  .dl-step .n {
    width: 30px; height: 30px; border-radius: 9px; font-size: 14px; margin-bottom: 8px;
    background: linear-gradient(135deg, #7b5cff, #22d3ee);
    box-shadow: 0 4px 10px rgba(108, 92, 231, .35);
  }
  .dl-step b { font-size: 14px; }
  .dl-step p { font-size: 12px; }

  /* ---------- 面板卡片：双层高光描边，去"贴纸感" ---------- */
  .panel, .dl-content-box, .dl-side-card, .dl-acc-card, .dl-lrow {
    box-shadow: 0 1px 0 rgba(255, 255, 255, .04) inset, 0 10px 26px rgba(0, 0, 0, .28);
  }
  /* 统一表单/输入体验 */
  input[type=text], input[type=password], input[type=number], input[type=tel], input[type=url],
  textarea, select, .dl-pick {
    background: rgba(255, 255, 255, .05) !important;
    border: 1px solid rgba(148, 163, 210, .18) !important;
    border-radius: 12px !important;
    transition: border-color .15s, box-shadow .15s;
  }
  input:focus, textarea:focus, select:focus {
    border-color: rgba(123, 92, 255, .65) !important;
    box-shadow: 0 0 0 3px rgba(123, 92, 255, .18);
  }

  /* ---------- 大厅/首页账号卡：层次与重点强化 ---------- */
  /* 标题：账号内容关键词更醒目，限单行省略 */
  .dl-acc-title { color: #fff; font-weight: 800; letter-spacing: .2px; }
  /* 特性标签：不同信息用不同质感（金色=稀有值），避免灰扑扑 */
  .dl-acc-tags .dl-chip { font-weight: 600; }
  .dl-acc-tags .dl-chip.gold { background: rgba(255, 182, 72, .16); color: #ffd27e; border-color: rgba(255, 182, 72, .35); }
  .dl-acc-tags .dl-chip.cyan  { background: rgba(34, 211, 238, .14); color: #7de9f7; border-color: rgba(34, 211, 238, .3); }
  .dl-acc-tags .dl-chip.knife { background: rgba(123, 92, 255, .16); color: #c9b9ff; border-color: rgba(123, 92, 255, .35); }
  .dl-acc-tags .dl-chip.gray  { color: #9aa3bd; }
  /* 统计区：主值渐变大字号，标签小字辅助色 */
  .dl-acc-stats { background: rgba(255, 255, 255, .03); border-radius: 12px; padding: 2px 0; }
  .dl-acc-stats .cell { border-right: 1px solid rgba(148, 163, 210, .08); }
  .dl-acc-stats .cell:last-child { border-right: none; }
  .dl-acc-stats b { font-weight: 800; color: #fff; }
  .dl-acc-stats b.gold {
    background: linear-gradient(120deg, #ffd76a, #ff9d3c);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .dl-acc-stats .cell span { color: #828ba5; font-size: 11px; }
  /* 价格行：金额用金字渐变大号，押金/天做成小徽章，在线徽章右对齐 */
  .dl-price {
    background: linear-gradient(120deg, #ffe9ad, #ffc24d 60%, #ff9d3c);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    font-weight: 900; text-shadow: 0 0 24px rgba(255, 182, 72, .25);
  }
  .dl-acc-foot { align-items: flex-end; }
  .dl-acc-foot .foot-sub {
    display: inline-flex; align-items: center; gap: 3px;
    background: rgba(255, 255, 255, .06); border-radius: 999px; padding: 3px 9px;
    color: #c6cde2; font-size: 11.5px;
  }
  .dl-acc-foot .foot-sub .lb { color: #8d95ad; }
  .dl-status-dot {
    margin-left: auto; display: inline-flex; align-items: center; gap: 4px;
    font-size: 11.5px; font-weight: 700; color: #6ee7a0;
    background: rgba(46, 213, 115, .14); border: 1px solid rgba(46, 213, 115, .3);
    padding: 3px 9px; border-radius: 999px;
  }
  /* 折扣角标：封面右上醒目 pill（定位参照 .dl-acc-cover） */
  .dl-discount-tag {
    top: 10px; right: 10px; border-radius: 999px; padding: 4px 10px;
    font-size: 11px; font-weight: 800; letter-spacing: .5px;
    background: linear-gradient(135deg, #ff5e6c, #ff8e53); color: #fff;
    box-shadow: 0 4px 12px rgba(255, 94, 108, .4);
  }
  /* 立即租用：改为紫色品牌渐变全宽按钮（金色仅用于"下单购买"CTA 与价格，避免满屏金） */
  .dl-rent-btn {
    color: #fff; font-weight: 800;
    background: linear-gradient(135deg, #7b5cff, #3aa9ff);
    box-shadow: 0 6px 16px rgba(108, 92, 231, .35);
    border: none;
  }
}

/* ---------- 批次3：详情页精修（手机端） ---------- */
@media (max-width: 768px) {
  /* 封面图：通栏大图、圆角角标、底部页码胶囊 */
  .dl-detail-main #accGallery { position: relative; }
  .dl-detail-main #accGallery img,
  .dl-detail-main #accGallery .acc-grad { height: 250px; object-fit: cover; }
  .dl-detail-main .dl-discount-tag { font-size: 12px; padding: 5px 12px; right: 12px; top: 12px; }
  .dl-detail-main .dl-status-dot { top: 12px; right: 12px; position: absolute; }
  .dl-detail-main .dl-g-btn { top: 50%; transform: translateY(-50%); }
  .dl-detail-main .dl-g-count { bottom: 12px; right: 12px; border-radius: 999px; padding: 3px 10px; font-size: 12px; background: rgba(0, 0, 0, .55); }
  .dl-g-thumbs { display: flex; gap: 8px; overflow-x: auto; padding: 2px 0 6px; margin: 12px -14px 0; scrollbar-width: none; }
  .dl-g-thumbs::-webkit-scrollbar { display: none; }
  .dl-g-thumb { flex: none; width: 86px; height: 58px; border-radius: 10px; overflow: hidden; opacity: .75; }
  .dl-g-thumb.active { opacity: 1; outline: 2px solid var(--s3-primary, #7b5cff); outline-offset: 1px; }

  /* 标题 + mini 信息卡：标题精简、信息三栏化 */
  .dl-detail-main h1 { font-size: 20px; line-height: 1.4; }
  .dl-detail-main div[style*="min-width:128px"] {
    min-width: 0 !important; display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 0; padding: 10px 4px; border-radius: 14px;
    background: linear-gradient(135deg, rgba(123, 92, 255, .12), rgba(34, 211, 238, .05));
  }
  .dl-detail-main div[style*="min-width:128px"] > div {
    flex-direction: column; justify-content: center; text-align: center;
    line-height: 1.5; gap: 1px;
  }

  /* 分节标题与内容卡统一 */
  .dl-spec-title {
    font-size: 15px; font-weight: 800; margin: 20px 0 10px;
    display: flex; align-items: center; gap: 8px;
  }
  .dl-spec-title::before {
    content: ''; width: 4px; height: 15px; border-radius: 999px;
    background: linear-gradient(180deg, #7b5cff, #22d3ee);
  }
  /* 基础信息：两列宫格化，取消原表格感 */
  .dl-spec-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .dl-spec-item {
    margin: 0; border: 1px solid rgba(148, 163, 210, .1);
    border-radius: 12px; padding: 10px 12px; background: rgba(255, 255, 255, .03);
    display: flex; align-items: center; justify-content: space-between; gap: 6px;
  }
  .dl-spec-item span { font-size: 12.5px; }
  .dl-spec-item b { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .dl-scan-tag { display: block; margin-top: 2px; }
  /* 说明/须知内容卡：干净文本排版 */
  .dl-content-box { padding: 14px 16px; }
  .dl-content-box .dl-skin-group { padding: 7px 0; border-bottom: 1px dashed rgba(148, 163, 210, .1); }
  .dl-content-box .dl-skin-group:last-child { border-bottom: none; }
  .dl-rules { padding-left: 18px; font-size: 13.5px; color: #cdd3e8; }
  .dl-note { border-radius: 12px; font-size: 13px; padding: 12px 14px; }
}

/* ---------- 批次4：底部导航 + 认证页精修（手机端） ---------- */
@media (max-width: 768px) {
  /* 底部 Tab：选中态图标上浮 + 文字加粗，毛玻璃 */
  /* 底部悬浮胶囊 TabBar：深色玻璃质感（浅色主题由 light.css 覆盖） */
  .mobile-tabbar {
    background: rgba(13, 18, 36, .78);
    border-color: rgba(148, 163, 210, .12);
  }
  .mobile-tabbar a { color: #7d86a0; }

  /* 认证页（登录/注册/找回）：App 化品牌卡 */
  .auth-wrap {
    padding: 28px 18px; min-height: calc(100vh - 52px - 88px);
    display: flex; flex-direction: column; justify-content: center;
  }
  .auth-card {
    width: 100%; border-radius: 22px; padding: 30px 24px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .055), rgba(255, 255, 255, .02));
    border: 1px solid rgba(123, 92, 255, .28);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .45);
  }
  .auth-logo {
    width: 62px; height: 62px; font-size: 22px; border-radius: 19px; margin: 0 auto 16px;
    background: linear-gradient(135deg, #7b5cff, #22d3ee);
    box-shadow: 0 10px 26px rgba(108, 92, 231, .5);
  }
  .auth-head h2 { font-size: 22px; font-weight: 800; }
  .auth-head p { font-size: 13px; }
  .auth-card .btn-primary.btn-lg {
    min-height: 50px; border-radius: 999px; font-size: 16px; letter-spacing: 8px;
    background: linear-gradient(135deg, #7b5cff, #3aa9ff);
    box-shadow: 0 10px 26px rgba(108, 92, 231, .45);
    margin-top: 6px;
  }
  .auth-card .form-item input {
    min-height: 48px; padding: 8px 16px; border-radius: 13px; font-size: 15px;
  }
  .auth-card .form-item label { font-size: 13px; }
}

/* ---------- 批次5：剩余溢出与体验修复（手机端） ---------- */
@media (max-width: 768px) {
  /* 卡片标题链接：块级 + 省略号，消除行内撑宽 */
  .dl-acc-title a { display: block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
  /* 大厅顶部（刀皮 + 搜索 + 视图切换）工具条：允许换行，消除溢出 */
  .dl-top-bar { flex-wrap: wrap !important; row-gap: 8px; }
  .dl-top-bar > div { flex: 1 1 100%; width: 100% !important; }
  .dl-top-bar form { flex: 1 1 100%; margin-left: 0; max-width: none; }
  .dl-top-bar form input { flex: 1 1 auto; width: auto !important; min-width: 0; }
  /* 刀皮筛选行：换行排列（不受排序条横滑规则影响） */
  .dl-top-bar .dl-filters { flex-wrap: wrap; overflow-x: visible; gap: 6px 8px; }
  /* 首页公告条与内容间距统一 */
  .container > .notice-bar:first-of-type { margin-top: 16px; }
}

/* ============================================================
 * 批次6：手机端卡片 → 参考站式「参数矩阵卡」（深紫金主题）
 * 桌面保持原有 4 格统计；手机(<768px) 展示高亮比例条 + 2×4 矩阵
 * ============================================================ */
/* 手机端专属新布局默认隐藏；仅 <768px 展示 */
.acc-mob { display: none; }

@media (max-width: 768px) {
  /* 桌面布局在手机隐藏 */
  .acc-desk { display: none !important; }
  .acc-mob { display: block; }

  /* 封面：更高（方形竖版角色图），角标不变 */
  .dl-acc-cover { aspect-ratio: 4 / 3 !important; }
  .dl-acc-cover .acc-grad { font-size: 30px; }
  .dl-acc-cover .dl-status-dot { bottom: 8px; right: 8px; }

  /* ============ 徽章行：编号 / 日消耗 / 皮肤摘要 ============ */
  .am-badges { display: flex; flex-wrap: nowrap; align-items: center; gap: 6px; overflow: hidden; min-width: 0; }
  .am-badges .ab {
    flex: none; display: inline-flex; align-items: center; height: 22px; padding: 0 8px;
    border-radius: 6px; font-size: 11px; font-weight: 700; white-space: nowrap;
  }
  .am-badges .ab.id { color: #ff9aa2; background: rgba(255, 94, 108, .12); border: 1px solid rgba(255, 94, 108, .38); }
  .am-badges .ab.daily { color: #ffd479; background: rgba(255, 165, 2, .13); border: 1px solid rgba(255, 165, 2, .4); }
  .am-badges .ab.skins { margin-left: auto; min-width: 0; padding: 0; border: none; background: none; color: #b9c4ff; font-weight: 600; overflow: hidden; text-overflow: ellipsis; }

  /* ============ 等级 + 说明 ============ */
  .am-desc { display: flex; align-items: center; gap: 8px; margin-top: 7px; min-width: 0; }
  .am-desc b {
    flex: none; font-size: 12px; font-weight: 800; color: #6ee7a0;
    padding: 1px 7px; border-radius: 6px; background: rgba(110, 231, 160, .12);
    border: 1px solid rgba(110, 231, 160, .28);
  }
  .am-desc span {
    min-width: 0; font-size: 15px; color: #e7ebf7; line-height: 1.45; font-weight: 700;
    overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  }

  /* ============ 2×4 参数矩阵（浅色圆角格，首格金色） ============ */
  .am-mx {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 6px; margin-top: 9px;
  }
  .am-mx .cell {
    min-width: 0; text-align: center; padding: 8px 2px 7px;
    background: rgba(255, 255, 255, .045);
    border: 1px solid rgba(148, 163, 210, .12);
    border-radius: 10px;
  }
  .am-mx b {
    display: block; font-size: 14px; font-weight: 900; color: #fff;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .am-mx .cell.gld {
    background: linear-gradient(160deg, rgba(255, 182, 72, .18), rgba(255, 120, 60, .08));
    border-color: rgba(255, 182, 72, .4);
  }
  .am-mx .cell.gld b {
    background: linear-gradient(120deg, #ffe9ad, #ffc24d 60%, #ff9d3c);
    -webkit-background-clip: text; background-clip: text; color: transparent;
  }
  .am-mx span { display: block; font-size: 10.5px; color: #828ba5; margin-top: 2px; letter-spacing: .3px; }

  /* ============ meta 信息行（参考站）：左绿状态组 + 右侧保证金/租期，平底无框 ============ */
  .am-meta {
    display: flex; flex-wrap: wrap; align-items: center; gap: 4px 6px; margin-top: 9px;
    font-size: 11px; min-width: 0;
  }
  .am-meta-l { flex: 1 1 auto; display: flex; align-items: center; gap: 8px; min-width: 0; overflow: hidden; }
  .am-meta .mm { color: var(--s3-ok); font-weight: 600; white-space: nowrap; }
  .am-meta .ok {
    flex: none; display: inline-flex; align-items: center; gap: 4px;
    color: var(--s3-ok); font-weight: 700; white-space: nowrap;
  }
  .am-meta .ok::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--s3-ok); box-shadow: 0 0 5px var(--s3-ok); }
  .am-meta .trust { flex: 0 0 auto; color: var(--s3-muted); white-space: nowrap; }
  .am-meta .trust b { color: #ff5a4e; font-weight: 700; }
  /* 比例金色小标签：并入 meta 行左侧（替代独立红条，降低卡片高度） */
  .am-meta .rt {
    flex: none; display: inline-flex; align-items: center;
    font-size: 11px; font-weight: 800; color: #ffd479; white-space: nowrap;
    padding: 0 6px; border-radius: 6px;
    background: linear-gradient(135deg, rgba(255, 182, 72, .2), rgba(255, 120, 60, .1));
    border: 1px solid rgba(255, 182, 72, .45);
  }

  /* ============ 底部操作行（参考站）：平底，租金红字 + 红色立即租用 ============ */
  .am-foot {
    display: flex; align-items: center; gap: 10px; margin-top: 11px;
    padding: 0; background: none; border: none; box-shadow: none;
  }
  .am-foot .amt { flex: 0 0 auto; display: flex; align-items: baseline; gap: 5px; min-width: 0; }
  .am-foot .amt span { font-size: 11px; color: var(--s3-muted); }
  .am-foot .amt b { font-size: 21px; font-weight: 900; line-height: 1; color: #ff5a4e; white-space: nowrap; }
  .am-foot .am-note {
    flex: 1 1 auto; min-width: 0; font-style: normal; font-size: 11px; color: var(--s3-muted);
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .am-foot .am-rent {
    flex: 0 0 auto; min-height: 40px; padding: 0 22px; border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 800; color: #fff; text-decoration: none;
    background: linear-gradient(180deg, #ff5f4e, #f0352b);
    box-shadow: 0 6px 16px rgba(255, 80, 70, .4);
  }

  /* 已废弃的旧手机卡片类，全部隐藏（避免残留） */
  .dl-acc-ratio, .dl-mx-stats, .dl-mx-meta { display: none !important; }

  /* 卡片间距略收紧，信息密度更接近参考站 */
  .dl-acc-grid { gap: 12px; }

  /* 浅色主题适配：矩阵格白底、操作条保持浅色 */
  [data-theme="light"] .am-mx .cell { background: #fff; border-color: rgba(32, 45, 90, .1); }
  [data-theme="light"] .am-mx b { color: #16204a; }
  [data-theme="light"] .am-mx span { color: #6b7394; }
  [data-theme="light"] .am-meta .rt { color: #a8690a; background: #fff3dd; border-color: rgba(255, 182, 72, .55); }
  [data-theme="light"] .am-meta .trust { color: #5f6a86; }
  /* 浅色主题：标题与金色系元素加深，保证白底可读 */
  [data-theme="light"] .am-desc span { color: #1c2440; }
  [data-theme="light"] .am-badges .ab.daily { color: #a8690a; background: #fff3dd; border-color: rgba(217, 119, 6, .45); }
  [data-theme="light"] .am-badges .ab.skins { color: #4a5578; }
  [data-theme="light"] .am-mx .cell.gld { background: linear-gradient(160deg, #fff6e0, #ffedd0); border-color: rgba(217, 119, 6, .38); }
  [data-theme="light"] .am-mx .cell.gld b {
    background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #b26a00;
  }
}
