.mobile-shell {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: calc(72px + env(safe-area-inset-bottom));
  background: #f6f8fb;
  color: #17233d;
}

.mobile-hero {
  padding: 12px 12px 10px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06);
}

.mobile-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.mobile-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.mobile-logo {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 10px;
  background: linear-gradient(135deg, #ff8a1f 0%, #ff5a00 100%);
  color: #fff;
  font-size: 20px;
  font-weight: 900;
}

.mobile-brand strong,
.mobile-brand small {
  display: block;
  white-space: nowrap;
}

.mobile-brand strong {
  color: #0f172a;
  font-size: 17px;
}

.mobile-brand small {
  color: #64748b;
  font-size: 13px;
}

.home-search {
  margin-top: 10px;
  padding: 0;
}

.home-search :deep(.van-search__content) {
  height: 38px;
  background: #f2f5f9;
}

.home-search :deep(.van-field__control) {
  font-size: 14px;
}

.mobile-service {
  flex: 0 0 auto;
  height: 40px;
  padding: 0 16px;
  border: 1px solid #fed7aa;
  border-radius: 12px;
  background: #fff;
  color: #ff6a00;
  font-size: 16px;
  font-weight: 700;
}

.add-home-strip {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 50px;
  margin-top: 10px;
  padding: 8px 10px;
  border: 1px solid #fed7aa;
  border-radius: 8px;
  background: #fff7ed;
  color: #7c2d12;
  text-decoration: none;
}

.add-home-mark {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: linear-gradient(135deg, #ff7a1a, #ef4444);
  color: #fff;
  box-shadow: 0 8px 18px rgba(239, 68, 68, 0.2);
}

.add-home-copy {
  display: grid;
  flex: 1;
  min-width: 0;
  gap: 2px;
}

.add-home-copy strong,
.add-home-copy small {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.add-home-copy strong {
  color: #7c2d12;
  font-size: 14px;
  font-weight: 900;
}

.add-home-copy small {
  color: #c2410c;
  font-size: 11px;
  font-weight: 700;
}

.add-home-cta {
  display: grid;
  flex: 0 0 auto;
  min-width: 64px;
  height: 32px;
  place-items: center;
  border-radius: 8px;
  background: #ef4444;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(239, 68, 68, 0.18);
}

.add-home-strip:active {
  transform: translateY(1px);
}

.fraud-tip {
  display: flex;
  align-items: center;
  gap: 8px;
  height: 34px;
  margin-top: 10px;
  padding: 0 10px;
  border: 1px solid #f5e6a3;
  border-radius: 8px;
  background: #fffdf0;
  color: #8a6d1b;
  font-size: 12px;
  text-decoration: none;
}

.fraud-dot {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #f59e0b;
  flex: 0 0 auto;
}

.announcement-swipe {
  flex: 1;
  height: 20px;
  overflow: hidden;
}

.announcement-swipe span {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fraud-more {
  flex: 0 0 auto;
  color: #c08a12;
}

.mobile-content {
  padding: 12px;
}

.banner-swipe {
  margin-bottom: 12px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff7ed;
}

.banner-swipe :deep(.van-swipe__indicators) {
  right: 16px;
  bottom: 12px;
  left: auto;
  transform: none;
}

.banner-swipe :deep(.van-swipe__indicator) {
  width: 5px;
  height: 5px;
  background: rgba(255, 255, 255, 0.52);
  opacity: 1;
}

.banner-swipe :deep(.van-swipe__indicator--active) {
  width: 16px;
  border-radius: 999px;
  background: #ff6a00;
}

.mobile-banner {
  position: relative;
  display: flex;
  min-height: 128px;
  align-items: flex-end;
  padding: 16px 16px 24px;
  overflow: hidden;
  background: #9a3412;
  color: #fff;
}

.mobile-banner.tone-warm {
  background: #9a3412;
}

.mobile-banner.tone-cool {
  background: #7c2d12;
}

.mobile-banner.tone-blue {
  background: #7c2d12;
}

.mobile-banner.tone-green {
  background: #854d0e;
}

.mobile-banner.tone-orange {
  background: #c2410c;
}

.banner-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-banner.has-image::after {
  position: absolute;
  inset: 0;
  content: '';
  background: linear-gradient(180deg, transparent 40%, rgba(15, 23, 42, 0.58));
}

.banner-copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 5px;
  max-width: 270px;
  padding-right: 44px;
}

.mobile-banner p,
.mobile-banner h1 {
  margin: 0;
}

.mobile-banner p {
  color: rgba(255, 247, 237, 0.86);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
}

.mobile-banner h1 {
  font-size: 19px;
  line-height: 1.32;
}

.banner-pill {
  width: fit-content;
  max-width: 100%;
  color: #ffedd5;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.mobile-banner.has-image .banner-pill {
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.34);
  color: #fff7ed;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}

.banner-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 1;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 247, 237, 0.94);
  color: #9a3412;
  font-size: 12px;
  font-weight: 800;
}

.zone-strip {
  display: flex;
  gap: 6px;
  margin: 0 -12px 10px;
  padding: 0 12px 2px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.zone-strip::-webkit-scrollbar {
  display: none;
}

.zone-pill {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 5px;
  height: 34px;
  min-width: 62px;
  align-items: center;
  justify-content: center;
  padding: 0 11px;
  border: 1px solid #dbe3ee;
  border-radius: 999px;
  background: #fff;
  color: #475569;
}

.zone-pill strong {
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.zone-pill span {
  display: grid;
  min-width: 17px;
  height: 17px;
  place-items: center;
  padding: 0 4px;
  border-radius: 999px;
  background: #f1f5f9;
  color: #64748b;
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

.zone-pill small {
  display: none;
}

.zone-pill.active {
  border-color: #ff6a00;
  background: #fff7ed;
  color: #c2410c;
}

.zone-pill.active span {
  background: #ff6a00;
  color: #fff;
}

.zone-pill:active {
  transform: translateY(1px);
}

.list-toolbar {
  display: flex;
  gap: 8px;
  margin-bottom: 10px;
}

.sort-entry,
.filter-entry {
  display: flex;
  height: 36px;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid #dbe3ee;
  border-radius: 8px;
  background: #fff;
  color: #334155;
  font-weight: 700;
}

.sort-entry {
  flex: 1;
}

.filter-entry {
  min-width: 86px;
  position: relative;
}

.filter-entry em {
  display: grid;
  min-width: 18px;
  height: 18px;
  place-items: center;
  border-radius: 999px;
  background: #ff6a00;
  color: #fff;
  font-size: 11px;
  font-style: normal;
}

.sort-panel {
  display: grid;
  gap: 4px;
  margin-bottom: 10px;
  padding: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
}

.sort-panel button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 34px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #334155;
  font-weight: 700;
}

.sort-panel button.active {
  background: #fff7ed;
  color: #c2410c;
}

.result-count {
  display: flex;
  align-items: baseline;
  gap: 1px;
  margin-bottom: 10px;
  color: #64748b;
  font-size: 13px;
}

.result-count strong {
  color: #ff6a00;
}

.state-loading {
  padding: 32px 0;
}

.mobile-empty {
  min-height: 280px;
  justify-content: center;
  padding: 36px 0 28px;
}

.mobile-empty :deep(.van-empty__image) {
  width: 118px;
  height: 118px;
  opacity: 0.58;
}

.mobile-empty :deep(.van-empty__description) {
  margin-top: 12px;
  color: #8b95a1;
  font-size: 14px;
}

.mobile-empty :deep(.van-button--primary) {
  border-color: #ff6a00;
  background: #ff6a00;
}

.mobile-list {
  display: grid;
  gap: 10px;
}

.mobile-card {
  display: grid;
  grid-template-columns: 104px minmax(0, 1fr);
  column-gap: 8px;
  row-gap: 8px;
  overflow: hidden;
  padding: 8px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.card-cover {
  position: relative;
  display: grid;
  width: 104px;
  height: 104px;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  background: #e2e8f0;
  color: #64748b;
  font-weight: 800;
}

.card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-cover-labels {
  position: absolute;
  left: 6px;
  top: 6px;
  display: flex;
  gap: 6px;
}

.card-cover-labels em {
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255, 106, 0, 0.92);
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.card-main {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: 0;
}

.card-title-row h2 {
  margin: 0;
  display: -webkit-box;
  min-height: 35px;
  overflow: hidden;
  color: #0f172a;
  font-size: 13px;
  line-height: 1.34;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 3px;
}

.mobile-listing-no,
.rental-meta-badge {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  min-height: 17px;
  padding: 1px 6px;
  border-radius: 999px;
  background: #f5f7fa;
  color: #64748b;
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
}

.rental-meta-badge {
  gap: 2px;
  border: none;
  background: #f5f7fa;
  color: #64748b;
  white-space: nowrap;
}

.meta-separator {
  color: #cbd5e1;
}

.card-subtitle {
  width: fit-content;
  margin: 0;
  padding: 1px 6px;
  border-radius: 999px;
  background: #fff7ed;
  color: #ea580c;
  font-size: 10px;
  font-weight: 900;
  line-height: 1.35;
}

.card-action-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
}

.card-badges-row,
.card-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.server-badge,
.card-chip-row span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 1px 5px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: #f1f5f9;
  color: #475569;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.35;
}

.server-badge.tone-wechat {
  background: #ecfdf5;
  color: #16a34a;
}

.server-badge.tone-qq {
  background: #eff6ff;
  color: #1683ff;
}

.server-badge.tone-scan {
  background: #fff7ed;
  color: #ea580c;
}

.server-badge.tone-password {
  background: #fef2f2;
  color: #dc2626;
}

.server-badge.tone-steam {
  background: #eef2ff;
  color: #4f46e5;
}

.card-chip-row span.tone-coin {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #c2410c;
}

.card-chip-row span.tone-insurance {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #c2410c;
}

.card-chip-row span.tone-stamina {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #c2410c;
}

.card-chip-row span.tone-load {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #c2410c;
}

.card-chip-row span.tone-rank {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #c2410c;
}

.card-chip-row span.tone-weapon {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #c2410c;
}

.card-chip-row span.tone-asset {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #c2410c;
}

.card-chip-row span.tone-time {
  border-color: #fed7aa;
  background: #fff7ed;
  color: #c2410c;
}

.card-footer {
  margin-top: 5px;
}

.price-col {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  align-items: baseline;
  gap: 6px;
}

.price-col strong {
  color: #ef4444;
  font-size: 20px;
  font-weight: 900;
  line-height: 1;
}

.rent-sub {
  padding: 1px 6px;
  border-radius: 999px;
  background: #fff7ed;
  color: #9a3412;
  font-size: 10px;
  font-weight: 700;
}

.card-chip-row {
  grid-column: 1 / -1;
  max-height: 42px;
  overflow: hidden;
  padding: 0;
}

.mobile-load-state {
  padding: 18px 0 4px;
  text-align: center;
  color: #94a3b8;
  font-size: 12px;
}

.back-top-button {
  position: fixed;
  right: max(14px, calc((100vw - 430px) / 2 + 14px));
  bottom: calc(64px + env(safe-area-inset-bottom));
  z-index: 110;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid #fed7aa;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.96);
  color: #ff6a00;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.12);
}

.back-top-button:active {
  background: #fff7ed;
  transform: translateY(1px);
}

@media (max-width: 360px) {
  .mobile-brand small {
    display: none;
  }

  .mobile-logo {
    width: 38px;
    height: 38px;
  }

  .mobile-service {
    height: 36px;
    padding: 0 12px;
    font-size: 14px;
  }

  .mobile-card {
    grid-template-columns: 96px minmax(0, 1fr);
    column-gap: 8px;
    padding: 8px;
  }

  .card-cover {
    width: 96px;
    height: 96px;
  }

  .card-title-row h2 {
    font-size: 13px;
  }

  .back-top-button {
    right: 12px;
    width: 40px;
    height: 40px;
  }
}

/* ========== 页脚 ========== */
.home-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 16px 12px calc(16px + env(safe-area-inset-bottom));
  color: #a0aab6;
  font-size: 11px;
  line-height: 1.6;
  text-align: center;
  flex-wrap: wrap;
}

.home-footer-icp {
  color: #a0aab6;
  text-decoration: none;
  transition: color 0.2s;
}

.home-footer-icp:hover {
  color: #5a6577;
}

.home-footer-divider {
  color: #d0d6e0;
}

.home-footer-copyright {
  color: #a0aab6;
}
