* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: #f4f5f8;
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
  color: #1f2937;
}

body {
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.ml-page {
  padding: 8px 10px 28px;
}

.ml-search-top {
  margin-bottom: 8px;
}

.ml-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 4px 4px 12px;
  border: 1.5px solid #73a9ff;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.06);
}

.ml-search-icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.ml-search-icon::before {
  content: "";
  width: 10px;
  height: 10px;
  border: 1.6px solid #b0b8c7;
  border-radius: 50%;
}

.ml-search-icon::after {
  content: "";
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 6px;
  height: 1.6px;
  background: #b0b8c7;
  transform: rotate(45deg);
  transform-origin: center;
}

.ml-search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 15px;
  color: #111827;
}

.ml-search-box button {
  border: 0;
  min-width: 88px;
  padding: 9px 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, #13b5ff 0%, #2d64ff 100%);
  color: #fff;
  font-size: 14px;
}

.ml-shop-bar {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 12px;
}

.ml-shop-info {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
}

.ml-shop-logo {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  object-fit: cover;
  background: #fff;
  border: 1px solid #e8eef9;
  box-shadow: 0 2px 8px rgba(37, 99, 235, 0.06);
}

.ml-shop-copy {
  min-width: 0;
  padding-top: 1px;
}

.ml-shop-name {
  font-size: 15px;
  font-weight: 700;
  color: #111827;
  line-height: 1.2;
  letter-spacing: 0.1px;
}

.ml-shop-desc {
  margin-top: 4px;
  color: #6b7280;
  font-size: 12px;
}

.ml-shop-sep {
  color: #d1d5db;
  margin: 0 4px;
}

.ml-shop-desc #shopScore {
  color: #ef4444;
}

.ml-shop-guarantee {
  color: #6b7280;
}

.ml-tool-grid {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  flex-shrink: 0;
}

.ml-tool-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  border: 0;
  background: transparent;
  color: #4b5563;
  font-size: 12px;
  padding: 0;
  min-width: 30px;
}

.ml-tool-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  filter: grayscale(0.2);
}

.ml-tool-icon img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.82;
}

.ml-banner,
.ml-promo-banner {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, #1d2ed1 0%, #5a9dff 100%);
}

.ml-banner {
  min-height: 182px;
}

.ml-banner-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
}

.ml-banner-slide.active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

.ml-banner img,
.ml-promo-banner img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.ml-banner img {
  height: 182px;
}

.ml-banner-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 10px;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 6px;
  pointer-events: none;
}

.ml-banner-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  pointer-events: auto;
  cursor: pointer;
}

.ml-banner-dot.active {
  width: 16px;
  border-radius: 999px;
  background: #fff;
}

.ml-banner-side-art {
  position: absolute;
  right: 18px;
  top: 16px;
  width: 122px;
  height: 146px;
  z-index: 1;
  pointer-events: none;
}

.ml-banner-side {
  position: absolute;
  display: block;
}

.ml-banner-side.tower {
  right: 12px;
  bottom: 10px;
  width: 22px;
  height: 92px;
  border-radius: 8px 8px 4px 4px;
  background: linear-gradient(180deg, rgba(175, 224, 255, 0.95) 0%, rgba(117, 185, 255, 0.86) 100%);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.18);
}

.ml-banner-side.screen {
  left: 18px;
  bottom: 28px;
  width: 48px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(197, 225, 255, 0.92) 100%);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.16);
}

.ml-banner-side.screen::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 10px;
  width: 28px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #60a5fa 0%, #2563eb 100%);
}

.ml-banner-side.screen::after {
  content: "";
  position: absolute;
  left: 16px;
  bottom: -7px;
  width: 16px;
  height: 8px;
  border-radius: 0 0 6px 6px;
  background: rgba(182, 215, 255, 0.82);
}

.ml-banner-side.chip {
  left: 54px;
  top: 34px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(120, 251, 255, 0.95) 0%, rgba(74, 222, 128, 0.9) 100%);
  transform: rotate(16deg);
  box-shadow: 0 8px 18px rgba(45, 212, 191, 0.24);
}

.ml-banner-side.line {
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(96, 165, 250, 0) 0%, rgba(103, 232, 249, 0.95) 100%);
}

.ml-banner-side.line.one {
  left: 22px;
  top: 66px;
  width: 44px;
}

.ml-banner-side.line.two {
  left: 50px;
  top: 58px;
  width: 34px;
}

.ml-banner-glow {
  position: absolute;
  left: 14px;
  top: 86px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(58, 244, 255, 0.95) 0%, rgba(58, 244, 255, 0.32) 42%, rgba(58, 244, 255, 0) 72%);
  box-shadow: 0 0 0 6px rgba(61, 233, 255, 0.12), 0 0 20px rgba(61, 233, 255, 0.36);
  z-index: 1;
}

.ml-banner-ring {
  position: absolute;
  left: 8px;
  top: 80px;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(137, 249, 255, 0.34);
  z-index: 1;
}

.ml-promo-banner {
  min-height: 108px;
  margin-top: 12px;
}

.ml-promo-banner img {
  height: 108px;
}

.ml-banner-overlay,
.ml-promo-copy,
.ml-promo-fallback {
  position: absolute;
  inset: 0;
  padding: 18px 20px;
}

.ml-banner-overlay {
  display: flex;
  align-items: flex-start;
  background: linear-gradient(90deg, rgba(29, 46, 209, 0.76) 0%, rgba(29, 46, 209, 0.18) 72%);
  z-index: 2;
}

.ml-banner-copy {
  max-width: 192px;
  margin-top: 4px;
}

.ml-banner-badge {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: #2055db;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(31, 41, 55, 0.08);
}

.ml-banner-title {
  max-width: 184px;
  color: #fff;
  margin-top: 20px;
  font-size: 20px;
  line-height: 1.32;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(29, 46, 209, 0.25);
}

.ml-banner-desc {
  margin-top: 10px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  letter-spacing: 0.55px;
}

.ml-promo-copy,
.ml-promo-fallback {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(90deg, rgba(60, 114, 255, 0.86) 0%, rgba(60, 114, 255, 0.1) 72%);
  z-index: 2;
}

.ml-promo-title {
  max-width: 188px;
  color: #fff;
  font-size: 16px;
  line-height: 1.35;
  font-weight: 800;
}

.ml-promo-desc {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.96);
  font-size: 13px;
}

.ml-promo-art {
  position: absolute;
  right: 14px;
  top: 10px;
  width: 118px;
  height: 86px;
  z-index: 1;
}

.ml-promo-chip,
.ml-promo-phone,
.ml-promo-bubble,
.ml-promo-coin {
  position: absolute;
  display: block;
}

.ml-promo-chip {
  border-radius: 16px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.ml-promo-chip.one {
  right: 0;
  top: 8px;
  width: 50px;
  height: 50px;
  transform: rotate(-12deg);
  background: linear-gradient(180deg, #ff7a18 0%, #ffb347 100%);
}

.ml-promo-chip.two {
  right: 40px;
  top: 2px;
  width: 30px;
  height: 30px;
  transform: rotate(-18deg);
  background: linear-gradient(180deg, #ff4d6d 0%, #ff9a3c 100%);
}

.ml-promo-chip.three {
  right: 58px;
  top: 22px;
  width: 24px;
  height: 24px;
  transform: rotate(16deg);
  background: linear-gradient(180deg, #8b5cf6 0%, #4f46e5 100%);
}

.ml-promo-bubble {
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.9) 0%, rgba(191, 219, 254, 0.55) 58%, rgba(191, 219, 254, 0) 100%);
}

.ml-promo-bubble.one {
  right: 14px;
  top: 0;
  width: 18px;
  height: 18px;
}

.ml-promo-bubble.two {
  right: 64px;
  top: 8px;
  width: 12px;
  height: 12px;
}

.ml-promo-coin {
  border-radius: 50%;
  box-shadow: 0 8px 18px rgba(249, 115, 22, 0.2);
}

.ml-promo-coin.one {
  right: 24px;
  top: 20px;
  width: 18px;
  height: 18px;
  background: linear-gradient(180deg, #fde68a 0%, #f59e0b 100%);
}

.ml-promo-coin.two {
  right: 48px;
  top: 34px;
  width: 14px;
  height: 14px;
  background: linear-gradient(180deg, #fdba74 0%, #f97316 100%);
}

.ml-promo-phone {
  right: 8px;
  bottom: 0;
  width: 66px;
  height: 40px;
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #eef4ff 100%);
  border: 2px solid rgba(255, 255, 255, 0.74);
  transform: rotate(-10deg);
}

.ml-promo-phone::before,
.ml-promo-phone::after {
  content: "";
  position: absolute;
  display: block;
}

.ml-promo-phone::before {
  left: 9px;
  top: 10px;
  width: 24px;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #60a5fa 0%, #2563eb 100%);
}

.ml-promo-phone::after {
  left: 9px;
  top: 20px;
  width: 40px;
  height: 5px;
  border-radius: 999px;
  background: rgba(148, 163, 184, 0.45);
}

.ml-promo-dots {
  position: absolute;
  left: 50%;
  bottom: 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  transform: translateX(-50%);
}

.ml-promo-dots span {
  width: 14px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.42);
}

.ml-promo-dots .active {
  width: 18px;
  background: rgba(255, 255, 255, 0.95);
}

.ml-filter-panel {
  margin-top: 10px;
}

.ml-filter-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0 2px 12px;
  border-bottom: 1px solid #edf0f5;
}

.ml-filter {
  position: relative;
}

.ml-filter button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
  border: 0;
  padding: 0;
  background: transparent;
  color: #374151;
  font-size: 13px;
}

.ml-filter-label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 0;
}

.ml-filter-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex: 0 0 10px;
}

.ml-filter-dot.city {
  background: linear-gradient(180deg, #fb7185 0%, #ef4444 100%);
}

.ml-filter-dot.price {
  background: linear-gradient(180deg, #818cf8 0%, #4f46e5 100%);
}

.ml-filter-dot.flow {
  background: linear-gradient(180deg, #60a5fa 0%, #2563eb 100%);
}

.ml-filter-dot.call {
  background: linear-gradient(180deg, #fbbf24 0%, #f59e0b 100%);
}

.ml-filter button span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ml-filter-menu {
  display: none;
  position: absolute;
  left: 0;
  top: calc(100% + 8px);
  z-index: 10;
  min-width: 112px;
  padding: 6px 0;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.12);
}

.ml-filter.open .ml-filter-menu {
  display: block;
}

.ml-filter-menu button {
  justify-content: flex-start;
  padding: 9px 12px;
}

.ml-filter-menu button.active {
  color: #2563eb;
  font-weight: 700;
  background: #eff6ff;
}

.ml-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 0 0;
}

.ml-tab {
  border: 0;
  padding: 6px 14px;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  box-shadow: inset 0 0 0 1px #eef1f6;
  font-size: 14px;
}

.ml-tab.active {
  background: linear-gradient(90deg, #2464ff 0%, #2f66ff 100%);
  color: #fff;
  font-weight: 700;
}

.ml-goods {
  margin-top: 10px;
}

.ml-card {
  position: relative;
  margin-top: 10px;
  padding: 11px 12px 12px;
  border: 1px solid #edf0f5;
  border-radius: 14px;
  background: #fff;
  box-shadow: none;
}

.ml-card-top-tag {
  position: absolute;
  left: 0;
  top: 10px;
  z-index: 2;
  padding: 2px 8px;
  border-radius: 0 8px 8px 0;
  background: linear-gradient(90deg, #ff6b6b 0%, #ff8e53 100%);
  color: #fff;
  font-size: 11px;
}

.ml-card-top {
  display: flex;
  gap: 10px;
}

.ml-card-cover {
  position: relative;
  width: 112px;
  flex: 0 0 112px;
}

.ml-card-cover img {
  width: 100%;
  height: 84px;
  border-radius: 8px;
  object-fit: contain;
  background: #f8fafc;
  display: block;
  border: 1px solid #f0f3f8;
  padding: 2px;
}

.ml-card-corner {
  position: absolute;
  left: -2px;
  top: 6px;
  padding: 2px 8px;
  border-radius: 0 8px 8px 0;
  background: linear-gradient(90deg, #ff9f2a 0%, #ff7a00 100%);
  color: #fff;
  font-size: 11px;
}

.ml-card-main {
  flex: 1;
  min-width: 0;
}

.ml-card-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.ml-card-title {
  font-size: 14px;
  font-weight: 800;
  color: #111827;
  line-height: 1.35;
}

.ml-card-operator-logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: #fff;
  font-weight: 800;
  flex-shrink: 0;
  box-shadow: 0 3px 8px rgba(37, 99, 235, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.ml-card-operator-main {
  font-size: 11px;
  line-height: 1;
}

.ml-card-operator-sub {
  margin-top: 1px;
  font-size: 6px;
  line-height: 1;
  letter-spacing: 0.2px;
  opacity: 0.9;
}

.ml-card-operator-logo.telecom {
  background: linear-gradient(180deg, #2563eb 0%, #1d4ed8 100%);
}

.ml-card-operator-logo.unicom {
  background: linear-gradient(180deg, #ef4444 0%, #dc2626 100%);
}

.ml-card-operator-logo.mobile {
  background: linear-gradient(180deg, #f59e0b 0%, #d97706 100%);
}

.ml-card-operator-logo.radio {
  background: linear-gradient(180deg, #10b981 0%, #059669 100%);
}

.ml-card-operator-logo.default {
  background: linear-gradient(180deg, #64748b 0%, #475569 100%);
}

.ml-card-subtitle {
  margin-top: 4px;
  font-size: 13px;
  color: #111827;
  line-height: 1.35;
}

.ml-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 7px;
}

.ml-badge {
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11px;
}

.ml-badge.orange {
  background: #fff3e7;
  color: #ff8a00;
}

.ml-badge.green {
  background: #eefce9;
  color: #4caf50;
}

.ml-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 12px;
  border: 1px solid #edf0f5;
  border-radius: 9px;
  overflow: hidden;
}

.ml-metric {
  padding: 10px 4px 9px;
  text-align: center;
  border-right: 1px solid #edf0f5;
}

.ml-metric:last-child {
  border-right: 0;
}

.ml-metric strong {
  display: block;
  color: #2563eb;
  font-size: 15px;
  font-weight: 800;
}

.ml-metric:first-child strong {
  color: #ef4444;
}

.ml-metric span {
  display: block;
  margin-top: 4px;
  color: #6b7280;
  font-size: 11px;
}

.ml-card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
}

.ml-age {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: #374151;
}

.ml-age-icon {
  position: relative;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #111827;
  flex: 0 0 13px;
}

.ml-age-icon::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
}

.ml-age-icon::after {
  content: "";
  position: absolute;
  left: 2px;
  bottom: 1px;
  width: 9px;
  height: 4px;
  border-radius: 5px 5px 3px 3px;
  background: #fff;
}

.ml-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ml-share,
.ml-apply {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-width: 88px;
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 12px;
  border: 0;
}

.ml-share {
  background: #f3f4f6;
  color: #6b7280;
}

.ml-apply {
  background: linear-gradient(90deg, #2464ff 0%, #2f66ff 100%);
  color: #fff;
  font-weight: 700;
}

.ml-share-icon,
.ml-apply-icon {
  font-size: 12px;
  line-height: 1;
}

.ml-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.ml-card-tags span {
  padding: 3px 7px;
  border-radius: 5px;
  font-size: 11px;
}

.ml-card-tags .mint {
  background: #ecfdf5;
  color: #10b981;
}

.ml-card-tags .orange {
  background: #fff7ed;
  color: #f59e0b;
}

.ml-card-tags .blue {
  background: #eff6ff;
  color: #2563eb;
}

.ml-card-tags .violet {
  background: #f5f3ff;
  color: #7c3aed;
}

.ml-empty {
  margin-top: 12px;
  padding: 42px 12px;
  border-radius: 16px;
  background: #fff;
  text-align: center;
  color: #6b7280;
  font-size: 14px;
}

.ml-faq {
  margin-top: 14px;
  padding: 18px 16px;
  border-radius: 16px;
  background: #fff;
}

.ml-faq h3 {
  margin: 0 0 10px;
  font-size: 17px;
}

.ml-faq-item + .ml-faq-item {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #edf0f5;
}

.ml-faq-q {
  font-size: 14px;
  font-weight: 700;
}

.ml-faq-a {
  margin-top: 6px;
  font-size: 13px;
  color: #4b5563;
  line-height: 1.7;
}

.ml-bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  width: min(480px, 100%);
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -10px 24px rgba(17, 24, 39, 0.08);
}

.ml-bottom-nav a,
.ml-bottom-nav button {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  border: 0;
  background: transparent;
  color: #6b7280;
}

.ml-bottom-nav .active,
.ml-bottom-nav .active {
  color: #2563eb;
}

.ml-bottom-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
}

.ml-bottom-icon img {
  width: 18px;
  height: 18px;
  object-fit: contain;
  opacity: 0.68;
}

.ml-bottom-nav .active .ml-bottom-icon img {
  opacity: 1;
}

.ml-bottom-nav span:last-child {
  font-size: 12px;
}

body.ml-lock-scroll {
  overflow: hidden;
}

.ml-region-overlay[hidden],
.ml-region-panel[hidden],
.ml-service-modal[hidden] {
  display: none !important;
}

.ml-region-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  background: rgba(15, 23, 42, 0.45);
}

.ml-region-overlay.show {
  display: block !important;
}

.ml-region-panel {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 1001;
  display: none;
  flex-direction: column;
  width: min(480px, 100%);
  max-height: 72vh;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 18px 18px 0 0;
  box-shadow: 0 -16px 40px rgba(15, 23, 42, 0.18);
}

.ml-region-panel.show {
  display: flex !important;
}

.ml-region-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 10px;
  border-bottom: 1px solid #eef2f7;
}

.ml-region-head h3 {
  margin: 0;
  font-size: 16px;
}

.ml-region-close {
  border: 0;
  background: transparent;
  color: #6b7280;
  font-size: 14px;
}

.ml-region-body {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  min-height: 280px;
  overflow: hidden;
}

.ml-province-list,
.ml-city-list {
  overflow: auto;
  max-height: 48vh;
}

.ml-province-list {
  background: #f7f8fa;
}

.ml-province-item,
.ml-city-item {
  display: block;
  width: 100%;
  border: 0;
  padding: 14px 16px;
  background: transparent;
  text-align: left;
  color: #374151;
  font-size: 14px;
}

.ml-province-item.active,
.ml-city-item.active {
  color: #2563eb;
  font-weight: 700;
  background: #fff;
}

.ml-region-foot {
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid #eef2f7;
}

.ml-region-confirm {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 12px 16px;
  background: linear-gradient(90deg, #2464ff 0%, #2f66ff 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

.ml-service-modal {
  position: fixed;
  inset: 0;
  z-index: 1002;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.45);
}

.ml-service-modal.show {
  display: flex !important;
}

.ml-service-card {
  width: min(320px, 100%);
  padding: 22px 18px 16px;
  border-radius: 16px;
  background: #fff;
  text-align: center;
}

.ml-service-card h3 {
  margin: 0 0 14px;
  font-size: 16px;
}

.ml-service-qrcode {
  width: 180px;
  height: 180px;
  object-fit: contain;
  border-radius: 12px;
  background: #f8fafc;
}

.ml-service-contact {
  margin: 12px 0 16px;
  color: #6b7280;
  font-size: 13px;
}

.ml-service-card button {
  width: 100%;
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  background: linear-gradient(90deg, #2464ff 0%, #2f66ff 100%);
  color: #fff;
  font-size: 14px;
}

@media (max-width: 380px) {
  .ml-tool-grid {
    gap: 8px;
  }

  .ml-filter-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ml-card-top {
    flex-direction: column;
  }

  .ml-card-cover {
    width: 100%;
    flex-basis: auto;
  }

  .ml-card-cover img {
    height: 180px;
  }

  .ml-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ml-card-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
