body {
  min-height: 100vh;
  display: grid;
  place-items: center;
}

.demo-shell {
  width: min(1020px, calc(100% - 28px));
  display: grid;
  grid-template-columns: minmax(280px, 1fr) auto;
  align-items: center;
  gap: 54px;
  padding: 42px 0;
}

.demo-info {
  max-width: 460px;
}

.demo-info h1 {
  margin: 18px 0 10px;
  font-size: 36px;
  line-height: 1.14;
}

.demo-info p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.demo-tips {
  margin-top: 28px;
  padding: 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 16px 38px rgba(32, 50, 70, 0.1);
}

.demo-tips b,
.demo-tips span {
  display: block;
}

.demo-tips b {
  margin-bottom: 6px;
  font-size: 14px;
}

.demo-tips span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.demo-phone-wrap {
  display: grid;
  place-items: center;
}

.demo-screen {
  width: 360px;
  height: 760px;
  border-width: 10px;
  overflow: hidden;
}

.page-scroll {
  height: calc(100% - 49px);
  overflow-y: auto;
  padding-bottom: 14px;
  scrollbar-width: none;
  overflow-anchor: none;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.page-scroll::-webkit-scrollbar {
  display: none;
}

.page-fill {
  height: 100%;
  overflow: hidden;
  scrollbar-width: none;
}

.tap {
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease;
}

.tap:active {
  transform: scale(0.97);
}

.tabbar button {
  position: relative;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 3px;
  height: 49px;
  border: 0;
  background: transparent;
  color: #8d949b;
  font-size: 10px;
  font-weight: 600;
  cursor: pointer;
}

.tabbar button::before {
  content: none;
}

.tabbar button.active {
  color: #0b4b7b;
}

.tabbar button.active::after {
  content: "";
  position: absolute;
  top: 5px;
  width: 30px;
  height: 24px;
  border-radius: 14px;
  background: #e8f4ff;
  z-index: -1;
}

.tabbar button span {
  line-height: 1;
}

.tabbar button span::before {
  content: none;
}

.tab-icon {
  position: relative;
  width: 22px;
  height: 22px;
  display: block;
  color: currentColor;
}

.tab-icon::before,
.tab-icon::after {
  content: "";
  position: absolute;
  display: block;
}

.tab-home::before {
  width: 14px;
  height: 12px;
  left: 4px;
  bottom: 2px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 3px;
}

.tab-home::after {
  width: 12px;
  height: 12px;
  left: 5px;
  top: 2px;
  border-left: 2px solid currentColor;
  border-top: 2px solid currentColor;
  transform: rotate(45deg);
  border-radius: 2px;
}

.tab-pin::before {
  width: 13px;
  height: 13px;
  left: 4px;
  top: 2px;
  border: 2px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.tab-pin::after {
  width: 4px;
  height: 4px;
  left: 9px;
  top: 7px;
  background: currentColor;
  border-radius: 50%;
}

.tab-grid::before {
  width: 7px;
  height: 7px;
  left: 3px;
  top: 3px;
  border-radius: 3px;
  background: currentColor;
  box-shadow: 10px 0 0 currentColor, 0 10px 0 currentColor, 10px 10px 0 currentColor;
}

.tab-chip::before {
  width: 14px;
  height: 14px;
  left: 4px;
  top: 4px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.tab-chip::after {
  width: 6px;
  height: 6px;
  left: 8px;
  top: 8px;
  background: currentColor;
  border-radius: 2px;
}

.tab-profile::before {
  width: 8px;
  height: 8px;
  left: 7px;
  top: 3px;
  background: currentColor;
  border-radius: 50%;
}

.tab-profile::after {
  width: 16px;
  height: 9px;
  left: 3px;
  bottom: 3px;
  background: currentColor;
  border-radius: 12px 12px 5px 5px;
}

.service-grid .service,
.product-card,
.shop-card,
.asset-grid div,
.travel-card,
.prep-card,
.certificate-card,
.pet-form-card {
  cursor: pointer;
}

.travel-screen,
.pet-screen,
.cert-screen {
  background: #fffdf7;
}

.travel-hero {
  margin: 12px 14px;
  padding: 16px;
  border-radius: 8px;
  color: #194461;
  background: linear-gradient(135deg, #e8f4ff, #fff3ce);
}

.travel-hero h3 {
  margin: 0 0 7px;
  font-size: 20px;
}

.travel-hero p {
  margin: 0 0 13px;
  color: #5e7280;
  font-size: 12px;
  line-height: 1.6;
}

.travel-hero button,
.save-btn {
  height: 38px;
  border: 0;
  border-radius: 19px;
  padding: 0 18px;
  color: #fff;
  background: var(--coral);
  font-size: 13px;
  font-weight: 800;
}

.travel-section {
  padding: 4px 14px 0;
}

.travel-list {
  display: grid;
  gap: 10px;
  margin-top: 10px;
}

.travel-card {
  display: grid;
  grid-template-columns: 42px 1fr 18px;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--line);
}

.travel-card i,
.certificate-card i {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--yellow-soft);
}

.travel-card strong,
.certificate-card strong {
  display: block;
  font-size: 14px;
}

.travel-card span,
.certificate-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.travel-card b {
  color: #a5abb0;
  font-size: 18px;
}

.prep-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 10px;
}

.prep-card {
  min-height: 74px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 12px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--line);
}

.prep-card strong {
  font-size: 13px;
}

.prep-card span {
  color: var(--muted);
  font-size: 10px;
}

.toast {
  position: absolute;
  left: 50%;
  bottom: 68px;
  transform: translateX(-50%);
  max-width: 260px;
  padding: 9px 12px;
  border-radius: 18px;
  color: white;
  background: rgba(32, 50, 70, 0.88);
  font-size: 12px;
  z-index: 8;
}

.device-list-card {
  margin: 12px 14px;
  padding: 12px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--line);
}

.device-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  text-align: center;
  padding: 8px 0 14px;
  border-bottom: 1px solid var(--line);
}

.device-summary b {
  display: block;
  color: var(--blue);
  font-size: 20px;
}

.device-summary span {
  color: var(--muted);
  font-size: 11px;
}

.device-mini {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 14px 0;
}

.device-mini .product-art {
  width: 48px;
  height: 48px;
}

.device-mini h3 {
  margin: 0 0 4px;
  font-size: 14px;
}

.device-mini p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.online {
  padding: 4px 8px;
  border-radius: 12px;
  color: var(--green);
  background: #eaffef;
  font-size: 10px;
  font-weight: 800;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.metric-row div {
  padding: 9px 4px;
  border-radius: 8px;
  text-align: center;
  background: #f8fafb;
}

.metric-row b {
  display: block;
  font-size: 12px;
}

.metric-row span {
  color: var(--muted);
  font-size: 10px;
}

.pet-head {
  display: grid;
  justify-items: center;
  padding: 18px 14px 6px;
}

.pet-avatar {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--yellow-soft);
  color: var(--navy);
  font-size: 32px;
  font-weight: 900;
}

.pet-head span {
  margin-top: 8px;
  color: var(--muted);
  font-size: 11px;
}

.pet-form-card {
  margin: 12px 14px;
  padding: 14px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--line);
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.field,
.note-field {
  min-height: 42px;
  padding: 9px 10px;
  border-radius: 7px;
  background: #f8f9fa;
  color: #9aa2a9;
  font-size: 12px;
}

.note-field {
  min-height: 70px;
  margin-top: 10px;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.tag-row span {
  padding: 7px 10px;
  border-radius: 14px;
  background: #f5f6f7;
  color: #69737c;
  font-size: 11px;
}

.tag-row .selected {
  color: white;
  background: var(--navy);
}

.save-btn {
  width: calc(100% - 28px);
  margin: 4px 14px 18px;
}

.certificate-card {
  display: grid;
  grid-template-columns: 42px 1fr 18px;
  gap: 10px;
  align-items: center;
  margin: 10px 14px 0;
  padding: 12px;
  border-radius: 8px;
  background: white;
  border: 1px solid var(--line);
}

.certificate-card b {
  color: #a5abb0;
  font-size: 18px;
}

.upload-card {
  margin: 16px 14px 18px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px dashed #9da6ae;
  border-radius: 8px;
  color: #5f6972;
  background: white;
  font-size: 13px;
  font-weight: 700;
}

.back-button {
  border: 0;
  background: transparent;
}

.cart-btn,
.buy-btn,
.primary-action,
.outline-action {
  cursor: pointer;
}

@media (max-width: 780px) {
  body {
    display: block;
  }

  .demo-shell {
    width: 100%;
    min-height: 100vh;
    display: block;
    padding: 0;
  }

  .demo-info {
    display: none;
  }

  .demo-screen {
    width: 100vw;
    height: 100vh;
    border: 0;
    border-radius: 0;
  }
}

/* Refined user-center buttons */
.asset-grid {
  gap: 9px;
}

.asset-grid .asset-card {
  min-height: 64px;
  grid-template-columns: 34px 1fr;
  grid-template-rows: auto auto;
  column-gap: 9px;
  row-gap: 2px;
  align-items: center;
  padding: 10px;
  border: 1px solid rgba(237, 240, 242, 0.9);
  box-shadow: 0 8px 18px rgba(32, 50, 70, 0.04);
}

.asset-card span {
  align-self: end;
  line-height: 1.15;
}

.asset-card b {
  align-self: start;
  color: #98a0a8;
  font-size: 9px;
  font-weight: 600;
}

.asset-icon {
  position: relative;
  grid-row: 1 / 3;
  width: 34px;
  height: 34px;
  border-radius: 11px;
}

.asset-icon::before,
.asset-icon::after {
  content: "";
  position: absolute;
  display: block;
}

.asset-pet { background: #e7f2ff; color: #2f8cff; }
.asset-cert { background: #fff2cc; color: #d59b12; }
.asset-device { background: #eaf9ef; color: #36b96a; }
.asset-insurance { background: #e9f1ff; color: #4f7fd8; }

.asset-pet::before {
  width: 9px;
  height: 9px;
  left: 12px;
  top: 13px;
  background: currentColor;
  border-radius: 50%;
  box-shadow: -7px -5px 0 -2px currentColor, 7px -5px 0 -2px currentColor, -5px 6px 0 -2px currentColor, 5px 6px 0 -2px currentColor;
}

.asset-cert::before {
  width: 16px;
  height: 20px;
  left: 9px;
  top: 7px;
  border: 2px solid currentColor;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.45);
}

.asset-cert::after {
  width: 9px;
  height: 2px;
  left: 13px;
  top: 15px;
  background: currentColor;
  box-shadow: 0 5px 0 currentColor;
}

.asset-device::before {
  width: 17px;
  height: 17px;
  left: 8px;
  top: 8px;
  border: 2px solid currentColor;
  border-radius: 5px;
}

.asset-device::after {
  width: 7px;
  height: 7px;
  left: 13px;
  top: 13px;
  background: currentColor;
  border-radius: 2px;
}

.asset-insurance::before {
  width: 18px;
  height: 21px;
  left: 8px;
  top: 6px;
  background: currentColor;
  clip-path: polygon(50% 0, 92% 16%, 84% 70%, 50% 100%, 16% 70%, 8% 16%);
}

.asset-insurance::after {
  width: 9px;
  height: 5px;
  left: 12px;
  top: 14px;
  border-left: 2px solid white;
  border-bottom: 2px solid white;
  transform: rotate(-45deg);
}

.order-icons {
  gap: 6px;
}

.order-icons span {
  position: relative;
  gap: 5px;
  cursor: pointer;
}

.order-icons span::before {
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 11px;
  background: #f4f8fb;
  box-shadow: inset 0 0 0 1px #e6ebef;
}

.order-icons span::after {
  content: "";
  position: absolute;
  top: 7px;
  width: 13px;
  height: 13px;
  color: #6d7b87;
}

.order-pay::after {
  border: 2px solid currentColor;
  border-radius: 3px;
  box-shadow: inset 0 4px 0 rgba(109, 123, 135, 0.18);
}

.order-box::after {
  border: 2px solid currentColor;
  border-radius: 3px;
  transform: rotate(45deg);
}

.order-car::after {
  width: 17px;
  height: 9px;
  top: 10px;
  border: 2px solid currentColor;
  border-radius: 4px;
  box-shadow: -5px 8px 0 -4px currentColor, 5px 8px 0 -4px currentColor;
}

.order-chat::after {
  width: 15px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 50%;
}

.order-return::after {
  width: 14px;
  height: 10px;
  border-left: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
}

.service-orders span::before {
  background: #fff8e8;
  box-shadow: inset 0 0 0 1px #f1dfb8;
}

.order-plane::after {
  width: 17px;
  height: 3px;
  top: 13px;
  background: currentColor;
  border-radius: 3px;
  transform: rotate(-24deg);
}

.order-home::after {
  width: 13px;
  height: 10px;
  top: 11px;
  border: 2px solid currentColor;
  border-top: 0;
  border-radius: 3px;
}

.order-door::after {
  width: 12px;
  height: 15px;
  border: 2px solid currentColor;
  border-radius: 6px 6px 3px 3px;
}

.order-care::after {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 4px;
  box-shadow: inset 5px 0 0 -3px currentColor, inset -5px 0 0 -3px currentColor;
}

.order-calendar::after {
  width: 15px;
  height: 14px;
  border: 2px solid currentColor;
  border-radius: 4px;
  box-shadow: inset 0 5px 0 -3px currentColor;
}

.tool-grid {
  gap: 12px 10px;
}

.tool-grid span {
  position: relative;
  gap: 6px;
  cursor: pointer;
}

.tool-grid span::before {
  width: 32px;
  height: 32px;
  border: 0;
  background: #f7f9fb;
  box-shadow: inset 0 0 0 1px #e4e9ee;
}

.tool-grid span::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 14px;
  height: 14px;
  color: #7b8791;
}

.tool-address::after {
  border: 2px solid currentColor;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.tool-coupon::after {
  width: 17px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 4px;
}

.tool-member::after {
  width: 16px;
  height: 13px;
  background: currentColor;
  clip-path: polygon(50% 0, 100% 34%, 82% 100%, 18% 100%, 0 34%);
}

.tool-service::after {
  width: 16px;
  height: 12px;
  border: 2px solid currentColor;
  border-radius: 10px 10px 5px 5px;
  box-shadow: -5px 4px 0 -3px currentColor, 5px 4px 0 -3px currentColor;
}

.tool-repair::after {
  width: 15px;
  height: 4px;
  top: 14px;
  background: currentColor;
  border-radius: 3px;
  transform: rotate(-35deg);
}

.tool-shop::after {
  width: 16px;
  height: 12px;
  top: 12px;
  border: 2px solid currentColor;
  border-radius: 3px;
  box-shadow: inset 0 5px 0 -3px currentColor;
}

/* Premium visual pass */
:root {
  --premium-bg: #f7fafc;
  --premium-card: #ffffff;
  --premium-ink: #1f2d38;
  --premium-muted: #7e8a94;
  --premium-line: #e9eef2;
  --premium-soft: #f4f8fb;
  --premium-shadow: 0 10px 26px rgba(28, 45, 60, 0.08);
}

body {
  background:
    radial-gradient(circle at 10% 22%, rgba(255, 90, 95, 0.1), transparent 30%),
    radial-gradient(circle at 82% 15%, rgba(47, 140, 255, 0.14), transparent 32%),
    linear-gradient(135deg, #fff7ef 0%, #edf7ff 52%, #fffdf8 100%);
}

.demo-shell {
  width: min(1080px, calc(100% - 32px));
  gap: 70px;
}

.demo-info h1 {
  color: var(--premium-ink);
  font-size: 38px;
}

.demo-info p {
  color: #6f7d88;
}

.demo-tips {
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(255, 255, 255, 0.92);
}

.demo-screen {
  width: 382px;
  height: 812px;
  border-width: 9px;
  border-color: rgba(255, 255, 255, 0.9);
  background: var(--premium-bg);
  box-shadow: 0 28px 70px rgba(28, 45, 60, 0.16);
}

.page-fill {
  color: var(--premium-ink);
  background: var(--premium-bg);
}

.home-screen,
.mall-screen,
.travel-screen,
.empty-device-screen,
.device-detail-screen,
.user-screen,
.pet-screen,
.cert-screen,
.detail-screen {
  background: var(--premium-bg);
}

.mini-top,
.page-nav {
  height: 50px;
  padding: 0 18px;
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--premium-line);
}

.page-nav h2 {
  font-size: 16px;
  color: var(--premium-ink);
}

.logo-lockup {
  gap: 8px;
  font-size: 13px;
  color: var(--premium-ink);
}

.mini-logo {
  width: 24px;
  height: 24px;
  border-radius: 8px;
}

.page-scroll {
  height: calc(100% - 58px);
  padding: 0 0 18px;
}

.home-screen .page-scroll,
.user-screen .page-scroll,
.travel-screen .page-scroll,
.empty-device-screen .page-scroll,
.device-detail-screen .page-scroll {
  padding-bottom: 96px;
}

/* 首页顶部收拾：品牌 + 真实购物车，去掉假搜索/假角标 */
.home-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: 54px;
  padding: 0 16px 0 14px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(226, 234, 240, 0.9);
}

.home-top-bar .logo-lockup {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.home-brand-text {
  display: grid;
  gap: 1px;
  line-height: 1.15;
}

.home-brand-text strong {
  color: #14324a;
  font-size: 15px;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.home-brand-text em {
  color: #8a98a4;
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
}

.home-cart-entry {
  position: relative;
  width: 40px;
  height: 40px;
  border: 1px solid #e3ebf1;
  border-radius: 12px;
  background: #f7fafc;
  color: #334555;
  cursor: pointer;
}

.home-cart-icon {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 18px;
  height: 16px;
  border: 2px solid currentColor;
  border-radius: 3px 3px 5px 5px;
  box-sizing: border-box;
}

.home-cart-icon::before {
  content: "";
  position: absolute;
  left: 2px;
  top: -6px;
  width: 10px;
  height: 6px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  box-sizing: border-box;
}

.home-cart-entry b {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #ff5a5f;
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
  box-shadow: 0 4px 10px rgba(255, 90, 95, 0.28);
}

.home-cart-entry b.empty {
  display: none;
}

.home-screen .page-scroll {
  padding-top: 10px;
}

.home-screen .home-carousel,
.home-screen .hero-panel.hero-image-card {
  margin-top: 0;
}

.search-row {
  padding: 14px 18px 10px;
  gap: 10px;
}

.city {
  font-size: 13px;
  color: #4b6b82;
}

.search {
  height: 34px;
  border-radius: 8px;
  background: #eef4f8;
  color: #98a5af;
}

.hero-panel {
  height: 138px;
  margin: 0 18px;
  padding: 20px 18px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 64%, rgba(47, 140, 255, 0.16), transparent 25%),
    linear-gradient(135deg, #fff7d9 0%, #eefbeb 100%);
  box-shadow: var(--premium-shadow);
}

.hero-panel h2 {
  max-width: 210px;
  color: #4c3d14;
  font-size: 19px;
  line-height: 1.3;
}

.hero-panel p {
  color: #786537;
  font-size: 12px;
}

.hero-panel button,
.travel-hero button,
.save-btn,
.primary-action {
  height: 38px;
  border-radius: 8px;
  padding: 0 18px;
  background: linear-gradient(135deg, #ff5a5f, #ff7a5c);
  box-shadow: 0 10px 18px rgba(255, 90, 95, 0.2);
}

.pager {
  height: 30px;
}

.home-screen section:not(.hero-panel),
.travel-section {
  padding-left: 18px;
  padding-right: 18px;
}

section h3,
.section-title h3,
.travel-section h3 {
  color: var(--premium-ink);
  font-size: 16px;
  letter-spacing: 0;
}

.service-grid {
  gap: 16px 10px;
  margin-top: 14px;
}

.service {
  gap: 7px;
  font-size: 11px;
  color: #53616d;
}

.service .icon {
  width: 42px;
  height: 42px;
  box-shadow: 0 9px 17px rgba(28, 45, 60, 0.1);
}

.product-section {
  margin-top: 28px;
}

.section-title span {
  color: #9aa5ae;
  font-size: 12px;
}

.product-row {
  gap: 12px;
  margin-top: 12px;
}

.product-card {
  flex-basis: 150px;
  min-height: 142px;
  padding: 10px;
  border-color: var(--premium-line);
  box-shadow: var(--premium-shadow);
}

.product-art,
.shop-art {
  border-radius: 8px;
  background: linear-gradient(135deg, #fff3ca, #fff8e9);
}

.product-card strong,
.shop-card strong {
  margin-top: 9px;
  color: var(--premium-ink);
  font-size: 12px;
}

.product-card p {
  font-size: 10px;
}

.product-card b,
.shop-card p {
  color: #ff5a5f;
}

.tabbar {
  height: 58px;
  padding: 4px 8px 6px;
  border-top-color: rgba(233, 238, 242, 0.95);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
}

.tabbar button {
  height: 48px;
  gap: 4px;
  border-radius: 8px;
  font-size: 10px;
  color: #8a98a3;
}

.tabbar button.active {
  color: #0b5c96;
  font-weight: 800;
}

.tabbar button.active::after {
  top: 5px;
  width: 42px;
  height: 28px;
  border-radius: 8px;
  background: #e7f3ff;
}

.tab-icon {
  width: 23px;
  height: 23px;
}

.travel-hero {
  margin: 16px 18px;
  padding: 18px;
  border-radius: 8px;
  background:
    radial-gradient(circle at 86% 12%, rgba(255, 90, 95, 0.11), transparent 25%),
    linear-gradient(135deg, #e9f6ff, #fff4d6);
  box-shadow: var(--premium-shadow);
}

.travel-hero h3 {
  font-size: 21px;
}

.travel-hero p {
  color: #667782;
}

.travel-list {
  gap: 12px;
  margin-top: 12px;
}

.travel-card,
.prep-card,
.certificate-card,
.device-list-card,
.pet-form-card {
  border-color: var(--premium-line);
  background: var(--premium-card);
  box-shadow: 0 8px 20px rgba(28, 45, 60, 0.05);
}

.travel-card {
  grid-template-columns: 46px 1fr 18px;
  padding: 14px;
}

.travel-card i,
.certificate-card i {
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff3d3, #ecf6ff);
}

.prep-grid {
  gap: 12px;
}

.prep-card {
  min-height: 84px;
  padding: 14px;
}

.mall-layout {
  grid-template-columns: 92px 1fr;
  height: calc(100% - 108px);
}

.category-list {
  padding: 8px 0 64px;
  background: #f0f4f7;
}

.category-list button {
  min-height: 42px;
  padding: 8px 8px 8px 12px;
  color: #74828d;
  font-size: 11px;
  border-left-width: 3px;
}

.category-list .active {
  color: #0b5c96;
  background: #e4f2ff;
}

.mall-products {
  gap: 10px;
  padding: 12px 10px 76px;
  background: #ffffff;
}

.mall-screen .mall-products {
  display: block;
  overflow-y: auto;
}

.shop-card {
  min-height: 138px;
  padding: 10px;
  border-color: var(--premium-line);
  box-shadow: 0 8px 18px rgba(28, 45, 60, 0.045);
}

.shop-art {
  height: 58px;
}

.shop-card em {
  top: 9px;
  left: 10px;
  color: #ff5a5f;
  font-size: 10px;
}

.detail-photo {
  height: 230px;
  margin: 16px 18px 0;
  border-radius: 8px;
  box-shadow: var(--premium-shadow);
}

.detail-info,
.copy-block,
.feature-list {
  margin: 0 18px;
  padding: 18px 0;
}

.detail-info h3 {
  font-size: 19px;
}

.price-row b {
  font-size: 26px;
}

.buybar {
  height: 62px;
  gap: 10px;
  padding: 9px 12px;
}

.stepper {
  height: 40px;
  border-radius: 8px;
  background: #f2f6f8;
}

.cart-btn,
.buy-btn {
  height: 40px;
  border-radius: 8px;
}

.cart-btn {
  background: #fff0c8;
}

.buy-btn {
  background: linear-gradient(135deg, #ff5a5f, #ff7a5c);
  box-shadow: 0 10px 18px rgba(255, 90, 95, 0.2);
}

.device-list-card {
  margin: 16px 18px;
  padding: 16px;
}

.device-summary {
  padding-bottom: 16px;
}

.metric-row {
  gap: 9px;
}

.metric-row div {
  padding: 11px 4px;
  border-radius: 8px;
  background: #f4f8fb;
}

.empty-device {
  padding: 42px 18px 22px;
}

.live-card {
  height: 140px;
  margin: 16px 18px 0;
  border-radius: 8px;
  box-shadow: var(--premium-shadow);
}

.quick-actions {
  margin: 0 18px;
  padding: 16px 0;
}

.alert-panel,
.travel-records {
  margin: 16px 18px 0;
}

.alert-row,
.travel-records div {
  height: 36px;
  padding: 0 12px;
  border-radius: 8px;
}

.user-head {
  min-height: 88px;
  padding: 18px;
  background: #ffffff;
}

.avatar {
  width: 48px;
  height: 48px;
}

.user-head h2 {
  font-size: 16px;
}

.member-banner {
  margin: 12px 18px 0;
  padding: 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff0bf, #fff8e9);
  box-shadow: 0 8px 18px rgba(187, 132, 22, 0.08);
}

.member-pass-wrap {
  margin: 14px 18px 0;
}

.member-pass-card {
  position: relative;
  display: block;
  width: 100%;
  overflow: hidden;
  border: 0;
  border-radius: 16px;
  text-align: left;
  color: #fff8e8;
  box-shadow: 0 16px 36px rgba(92, 62, 12, 0.22);
  background: #2b2114;
}

.member-pass-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 214, 120, 0.34), transparent 42%),
    radial-gradient(circle at 88% 78%, rgba(255, 170, 70, 0.22), transparent 40%),
    linear-gradient(135deg, #3a2a16 0%, #6b4a1d 48%, #2c2115 100%);
}

.member-pass-card.is-inactive .member-pass-bg,
.member-pass-card.is-guest .member-pass-bg {
  background:
    radial-gradient(circle at 18% 20%, rgba(180, 190, 205, 0.22), transparent 42%),
    linear-gradient(135deg, #3a424c 0%, #5a6572 50%, #2f363e 100%);
}

.member-pass-body {
  position: relative;
  z-index: 1;
  padding: 16px;
}

.member-pass-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.member-pass-brand span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
}

.member-pass-brand em {
  display: block;
  margin-top: 4px;
  font-size: 18px;
  font-style: normal;
  font-weight: 800;
}

.member-pass-badge {
  flex-shrink: 0;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #ffe8b0;
  font-size: 11px;
  font-weight: 800;
}

.member-pass-badge.ok {
  background: rgba(80, 200, 120, 0.2);
  color: #b8f0c8;
}

.member-pass-card.is-inactive .member-pass-badge,
.member-pass-card.is-guest .member-pass-badge {
  color: #e8eef5;
}

.member-pass-state {
  display: block;
  margin-top: 16px;
  font-size: 20px;
  font-weight: 800;
}

.member-pass-desc {
  margin: 6px 0 0;
  color: rgba(255, 248, 232, 0.78);
  font-size: 12px;
  line-height: 1.45;
}

.member-pass-meta-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.member-pass-meta-row span {
  color: rgba(255, 248, 232, 0.62);
  font-size: 11px;
}

.member-pass-meta-row b {
  color: #fff8e8;
  font-size: 13px;
  font-weight: 700;
}

.member-card-no {
  letter-spacing: 0.06em;
  font-variant-numeric: tabular-nums;
}

.member-pass-cta {
  display: inline-flex;
  margin-top: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffd27a, #f0b24a);
  color: #3a2508;
  font-size: 12px;
  font-weight: 800;
}

.member-pass-cta.soft {
  background: rgba(255, 255, 255, 0.12);
  color: #ffe7b0;
}

.member-pass-main {
  display: grid;
  grid-template-columns: 1fr 86px;
  gap: 12px;
  align-items: end;
  margin-top: 8px;
}

.member-pass-qr {
  display: grid;
  justify-items: center;
  gap: 4px;
  width: 86px;
  padding: 6px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
}

.member-pass-qr img {
  width: 72px;
  height: 72px;
  display: block;
  border-radius: 4px;
  background: #fff;
}

.member-pass-qr em {
  color: #6b5530;
  font-size: 10px;
  font-style: normal;
  font-weight: 700;
}

.member-qr-sheet {
  position: absolute;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: end center;
  background: rgba(18, 24, 30, 0.48);
}

.member-qr-panel {
  width: min(100%, 360px);
  margin: 0;
  padding: 22px 20px 28px;
  border-radius: 18px 18px 0 0;
  background: #fff;
  text-align: center;
  box-shadow: 0 -12px 40px rgba(28, 45, 60, 0.18);
}

.member-qr-panel img {
  width: 180px;
  height: 180px;
  margin: 10px auto 12px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(28, 45, 60, 0.1);
}

.member-qr-panel strong {
  display: block;
  color: #1c2d3c;
  font-size: 16px;
}

.member-qr-panel p {
  margin: 6px 0 0;
  color: #82919d;
  font-size: 12px;
}

.member-qr-panel .member-card-no {
  display: block;
  margin-top: 8px;
  color: #0b5c96;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.member-qr-close {
  width: 100%;
  height: 42px;
  margin-top: 16px;
  border: 0;
  border-radius: 10px;
  background: #0b5c96;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.travel-guide-sheet {
  position: absolute;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: end center;
  background: rgba(18, 24, 30, 0.48);
}

.travel-guide-panel {
  width: min(100%, 420px);
  max-height: min(78vh, 640px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  margin: 0;
  padding: 16px 16px 20px;
  border-radius: 18px 18px 0 0;
  background: #fff;
  box-shadow: 0 -12px 40px rgba(28, 45, 60, 0.18);
}

.travel-guide-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.travel-guide-head strong {
  color: #1c2d3c;
  font-size: 17px;
}

.travel-guide-x {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #eef2f5;
  color: #5a6a76;
  font-size: 20px;
  line-height: 1;
}

.travel-guide-scroll {
  overflow: auto;
  padding-right: 4px;
  -webkit-overflow-scrolling: touch;
}

.travel-guide-scroll h4 {
  margin: 14px 0 6px;
  color: #1c2d3c;
  font-size: 14px;
}

.travel-guide-scroll h4:first-child {
  margin-top: 4px;
}

.travel-guide-scroll p {
  margin: 0;
  color: #5a6a76;
  font-size: 13px;
  line-height: 1.65;
}

.travel-guide-close {
  width: 100%;
  height: 44px;
  margin-top: 14px;
  border: 0;
  border-radius: 10px;
  background: #0b5c96;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.box-option .box-spec-summary {
  display: block;
  margin-top: 4px;
  color: #0b5c96;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
  line-height: 1.35;
}

.box-option:not(.active) .box-spec-summary {
  color: #82919d;
  font-weight: 600;
}

.box-option-side {
  display: grid;
  justify-items: end;
  align-content: center;
  gap: 6px;
  min-width: 56px;
}

.box-detail-link {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0b5c96;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.box-option-side b,
.box-option-side [data-box-price-tag] {
  display: block;
  margin: 0;
  color: #ff5a5f;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.box-detail-sheet {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  z-index: 240;
  display: grid;
  place-items: end center;
  width: min(100vw, 430px);
  transform: translateX(-50%);
  background: rgba(18, 24, 30, 0.48);
}

.box-detail-panel {
  width: min(100%, 420px);
  max-height: min(86vh, 720px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  margin: 0;
  padding: 14px 16px 18px;
  border-radius: 18px 18px 0 0;
  background: #fff;
  box-shadow: 0 -12px 40px rgba(28, 45, 60, 0.18);
}

.box-detail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.box-detail-head strong {
  color: #1c2d3c;
  font-size: 17px;
}

.box-detail-x {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #eef2f5;
  color: #5a6a76;
  font-size: 20px;
  line-height: 1;
}

.box-detail-scroll {
  overflow: auto;
  padding-right: 2px;
  -webkit-overflow-scrolling: touch;
}

.box-detail-hero {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: start;
  margin-bottom: 10px;
}

.box-detail-hero img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 14px;
  background: #eef4f8;
}

.box-detail-hero h3 {
  margin: 2px 0 6px;
  color: #1c2d3c;
  font-size: 16px;
}

.box-detail-hero p {
  margin: 0;
  color: #5a6a76;
  font-size: 12px;
  line-height: 1.5;
}

.box-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.box-detail-tags em {
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef6fb;
  color: #0b5c96;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.box-detail-note {
  margin: 0 0 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f5f8fb;
  color: #5a6a76;
  font-size: 12px;
  line-height: 1.6;
}

.box-detail-block {
  margin-bottom: 14px;
}

.box-detail-block h4 {
  margin: 0 0 8px;
  color: #1c2d3c;
  font-size: 13px;
}

.box-spec-chips {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.box-spec-chips.size-chips {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.box-spec-chip {
  display: grid;
  gap: 2px;
  padding: 10px 10px;
  border: 1px solid #d9e3ea;
  border-radius: 12px;
  background: #fff;
  text-align: left;
  color: #1c2d3c;
}

.box-spec-chip strong {
  font-size: 13px;
}

.box-spec-chip span {
  color: #82919d;
  font-size: 11px;
  line-height: 1.35;
}

.box-spec-chip.active {
  border-color: #0b5c96;
  background: #eef6fb;
  box-shadow: inset 0 0 0 1px rgba(11, 92, 150, 0.18);
}

.box-detail-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #eef2f5;
}

.box-detail-price {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.box-detail-price span {
  color: #82919d;
  font-size: 11px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.box-detail-price strong {
  color: #d45454;
  font-size: 20px;
}

.box-detail-confirm {
  min-width: 118px;
  height: 44px;
  padding: 0 16px;
  border: 0;
  border-radius: 12px;
  background: #0b5c96;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}

.travel-global-screen {
  background:
    radial-gradient(circle at 12% 0%, rgba(11, 92, 150, 0.08), transparent 42%),
    linear-gradient(180deg, #f3f7fa 0%, #eef3f7 100%);
}

.travel-global-screen .page-scroll {
  padding: 12px 14px calc(92px + env(safe-area-inset-bottom, 0px));
}

.travel-global-screen .global-route-hero {
  height: 140px;
  border-radius: 14px;
}

.travel-global-screen .route-overlay h3 {
  font-size: 21px;
}

.travel-global-screen .route-overlay p {
  max-width: 280px;
}

.travel-global-screen .ride-panel {
  margin-top: 12px;
  border-radius: 14px;
  overflow: hidden;
}

.travel-global-screen .global-route-card {
  padding: 6px 14px 10px;
}

.travel-global-screen .global-form-panel {
  padding: 14px;
}

.travel-global-screen .ride-title {
  margin-bottom: 2px;
}

.travel-global-screen .ride-title h3 {
  margin: 0;
  font-size: 15px;
}

.travel-global-screen .ride-title span {
  color: #82919d;
  font-size: 11px;
}

.global-field {
  display: grid;
  gap: 6px;
  margin-top: 12px;
}

.global-field > span {
  color: #6b7b88;
  font-size: 12px;
  font-weight: 600;
}

.global-route-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.travel-global-screen .route-field .global-route-row {
  margin-top: 6px;
}

.travel-global-screen .ride-input {
  width: 100%;
  min-width: 0;
}

.global-textarea {
  min-height: 78px;
  resize: vertical;
  padding-top: 10px;
  line-height: 1.5;
}

.global-route-hint {
  margin: 4px 0 6px;
  padding-left: 32px;
}

.travel-global-screen .global-action-bar {
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 34;
  height: auto;
  min-height: 62px;
  padding: 10px 14px calc(10px + env(safe-area-inset-bottom, 0px));
  border: 0;
  border-top: 1px solid rgba(221, 231, 238, 0.96);
  border-radius: 0;
  box-shadow: 0 -8px 24px rgba(28, 45, 60, 0.08);
}

.global-list-section {
  margin-top: 18px;
}

.global-empty {
  margin-top: 10px;
  padding: 22px 16px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px dashed #d5dee6;
  text-align: center;
}

.global-empty strong {
  display: block;
  color: #1c2d3c;
  font-size: 14px;
}

.global-empty p {
  margin: 6px 0 0;
  color: #82919d;
  font-size: 12px;
}

.global-inquiry-card {
  margin-top: 10px;
  padding: 14px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid rgba(223, 232, 238, 0.96);
  box-shadow: 0 10px 22px rgba(24, 45, 60, 0.06);
}

.global-inquiry-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.global-inquiry-no {
  color: #82919d;
  font-size: 11px;
  letter-spacing: 0.02em;
}

.global-inquiry-head b {
  flex-shrink: 0;
  padding: 3px 8px;
  border-radius: 999px;
  background: #eef3f7;
  color: #5a6a76;
  font-size: 11px;
  font-weight: 700;
}

.global-inquiry-head b.status-pending {
  background: #eef3f7;
  color: #5a6a76;
}

.global-inquiry-head b.status-replied {
  background: #e7f7ec;
  color: #1f8a4c;
}

.global-inquiry-head b.status-processing {
  background: #fff4e5;
  color: #b56a00;
}

.global-inquiry-head b.status-closed {
  background: #f1f2f4;
  color: #8a939b;
}

.global-inquiry-route {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 8px;
  align-items: center;
  margin-top: 12px;
}

.global-inquiry-route > div {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 6px;
  align-items: start;
  min-width: 0;
}

.global-inquiry-route .pin {
  width: 10px;
  height: 10px;
  margin-top: 4px;
  border-radius: 50%;
}

.global-inquiry-route .pin.start {
  background: #34c98c;
  box-shadow: 0 0 0 3px rgba(52, 201, 140, 0.18);
}

.global-inquiry-route .pin.end {
  background: #ff6a66;
  box-shadow: 0 0 0 3px rgba(255, 106, 102, 0.16);
}

.global-inquiry-route strong {
  color: #1c2d3c;
  font-size: 13px;
  line-height: 1.35;
  word-break: break-word;
}

.global-route-arrow {
  color: #b0bac3;
  font-size: 14px;
}

.global-inquiry-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 10px;
}

.global-inquiry-tags span {
  padding: 4px 8px;
  border-radius: 999px;
  background: #f3f7fa;
  color: #5a6a76;
  font-size: 11px;
}

.global-inquiry-note {
  margin: 10px 0 0;
  color: #82919d;
  font-size: 12px;
  line-height: 1.5;
}

.global-reply {
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: linear-gradient(180deg, #f3f9fd, #eef6fb);
  border: 1px solid #d9e8f3;
}

.global-reply.muted {
  background: #f5f8fa;
  border-color: #e6edf2;
}

.global-reply-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.global-reply em {
  color: #0b5c96;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.global-reply time {
  color: #82919d;
  font-size: 11px;
}

.global-reply p {
  margin: 6px 0 0;
  color: #1c2d3c;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.global-reply.muted p {
  color: #82919d;
}

@media (max-width: 360px) {
  .global-route-row {
    grid-template-columns: 1fr;
  }
}

.stats-row {
  margin: 12px 0;
  padding: 12px 0;
}

.asset-grid {
  padding: 0 18px;
}

.asset-grid .asset-card {
  min-height: 72px;
  padding: 12px;
  background: #ffffff;
}

.orders,
.common-tools {
  margin-top: 12px;
  padding: 16px 18px;
}

.orders p {
  margin: 13px 0 10px;
}

.order-icons span::before {
  width: 32px;
  height: 32px;
}

.order-icons span::after {
  top: 9px;
}

.common-tools {
  padding-bottom: 110px;
}

.tool-grid {
  margin-top: 14px;
}

.tool-grid span::before {
  width: 34px;
  height: 34px;
}

.pet-head {
  padding-top: 24px;
}

.pet-form-card {
  margin: 14px 18px;
  padding: 16px;
}

.field,
.note-field {
  border-radius: 8px;
  background: #f4f8fb;
}

.certificate-card {
  margin: 12px 18px 0;
  padding: 14px;
}

.upload-card {
  margin: 18px;
  height: 48px;
  border-radius: 8px;
  background: #ffffff;
}

@media (max-width: 780px) {
  .demo-screen {
    width: 100vw;
    height: 100vh;
    border: 0;
    border-radius: 0;
  }
}

/* Art direction pass: refined, airy, brand-led */
.demo-screen {
  background:
    linear-gradient(180deg, #ffffff 0 54px, #f5f9fc 54px 100%);
}

.page-fill {
  position: relative;
  overflow: hidden;
}

.user-logout-wrap {
  padding: 8px 16px 28px;
}

.page-fill::before {
  content: "";
  position: absolute;
  inset: 50px 0 auto 0;
  height: 138px;
  background: linear-gradient(180deg, rgba(232, 244, 255, 0.78), rgba(245, 249, 252, 0));
  pointer-events: none;
}

.page-fill > * {
  position: relative;
}

.mini-top,
.page-nav {
  position: relative;
  z-index: 3;
}

.mini-top {
  border-bottom: 0;
}

.logo-lockup span:last-child {
  font-size: 14px;
}

.top-icons {
  gap: 12px;
}

.cart-dot {
  box-shadow: 0 6px 12px rgba(255, 90, 95, 0.22);
}

.search-row {
  align-items: center;
}

.city {
  height: 34px;
  padding: 0 4px;
}

.search {
  box-shadow: inset 0 0 0 1px rgba(223, 230, 236, 0.7);
}

.hero-panel {
  height: 150px;
  padding: 22px 20px;
  background:
    linear-gradient(135deg, rgba(255, 248, 223, 0.96), rgba(234, 250, 238, 0.96)),
    linear-gradient(135deg, #ffffff, #ffffff);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(71, 91, 105, 0.1);
}

.hero-panel::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 118px;
  height: 92px;
  background:
    linear-gradient(135deg, transparent 0 28%, rgba(47, 140, 255, 0.12) 28% 32%, transparent 32%),
    linear-gradient(160deg, rgba(47, 140, 255, 0.1), rgba(67, 199, 111, 0.06));
  clip-path: polygon(26% 0, 100% 0, 100% 100%, 0 100%);
}

.hero-panel h2 {
  font-size: 20px;
  letter-spacing: 0;
}

.hero-panel button,
.travel-hero button,
.save-btn,
.primary-action,
.cart-btn,
.buy-btn {
  border-radius: 8px;
  transition: transform 160ms ease, box-shadow 160ms ease, filter 160ms ease;
}

.hero-panel button:active,
.travel-hero button:active,
.save-btn:active,
.primary-action:active,
.cart-btn:active,
.buy-btn:active {
  transform: translateY(1px);
  filter: saturate(0.96);
}

.home-screen .page-scroll > section:not(.hero-panel):not(.product-section) {
  margin: 2px 18px 0;
  padding: 16px 14px 14px;
  border-radius: 8px;
  background: #ffffff;
  border: 1px solid rgba(233, 238, 242, 0.82);
  box-shadow: 0 10px 24px rgba(28, 45, 60, 0.055);
}

.home-screen .page-scroll > section:not(.hero-panel):not(.product-section) h3 {
  font-size: 16px;
}

.service-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px 8px;
}

.service {
  min-height: 74px;
  padding: 8px 2px 6px;
  border-radius: 8px;
  background: #f8fbfd;
  box-shadow: inset 0 0 0 1px rgba(232, 238, 243, 0.9);
}

.service .icon {
  width: 38px;
  height: 38px;
  box-shadow: 0 8px 14px rgba(28, 45, 60, 0.08);
}

.service span {
  color: #43515c;
  font-weight: 700;
}

.product-section {
  margin: 16px 18px 0;
  padding: 0;
}

.product-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.product-card {
  position: relative;
  min-height: 162px;
  overflow: hidden;
  padding: 10px;
  border: 0;
  background: #ffffff;
  box-shadow: 0 14px 30px rgba(28, 45, 60, 0.08);
}

.product-art {
  height: 72px;
}

.product-meta {
  padding: 0 2px;
}

.product-meta strong {
  display: block;
  margin-top: 10px;
  color: #1f2d38;
  font-size: 13px;
}

.product-meta p {
  margin: 5px 0 6px;
  color: #7b8791;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-meta b {
  color: #ff5a5f;
  font-size: 13px;
}

.tabbar {
  left: 16px;
  right: 16px;
  bottom: 12px;
  height: 62px;
  padding: 6px 8px;
  border: 1px solid rgba(224, 232, 238, 0.9);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(28, 45, 60, 0.14);
}

.tabbar button {
  height: 48px;
}

.tabbar button.active::after {
  width: 48px;
  height: 34px;
  top: 3px;
  background: linear-gradient(180deg, #e9f5ff, #dff0ff);
  box-shadow: inset 0 0 0 1px rgba(47, 140, 255, 0.08);
}

.tabbar button.active .tab-icon {
  color: #0065a8;
}

.tabbar button.active span {
  color: #0c4f81;
}

.travel-hero {
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(71, 91, 105, 0.1);
}

.travel-card,
.prep-card,
.device-list-card,
.asset-card,
.orders,
.common-tools,
.pet-form-card,
.certificate-card {
  border-radius: 8px;
}

.travel-card,
.prep-card {
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.travel-card:active,
.prep-card:active,
.asset-card:active,
.shop-card:active,
.product-card:active {
  transform: translateY(1px);
  box-shadow: 0 8px 18px rgba(28, 45, 60, 0.06);
}

.mall-screen .page-nav {
  box-shadow: none;
}

.mall-nav {
  height: 48px;
}

.mall-search-bar {
  padding: 8px 14px 10px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #e8eef3;
}

.mall-search-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
  position: relative;
}

.mall-search-form:has(.mall-search-clear) {
  grid-template-columns: 1fr auto auto;
}

.mall-search-input {
  width: 100%;
  min-width: 0;
  height: 40px;
  box-sizing: border-box;
  padding: 0 12px;
  border: 1px solid #d7e4ea;
  border-radius: 12px;
  background: #f4f8fb;
  color: #1c2d3c;
  font: inherit;
  font-size: 14px;
  outline: none;
}

.mall-search-input:focus {
  border-color: #2f8cff;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(47, 140, 255, 0.12);
}

.mall-search-clear {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: #eef2f5;
  color: #5a6a76;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.mall-search-btn {
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #2f8cff, #00a8c8);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.mall-search-panel {
  height: calc(100% - 108px);
  overflow: auto;
  padding: 12px 14px 110px;
  -webkit-overflow-scrolling: touch;
}

.mall-search-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.mall-search-head strong {
  color: #14324a;
  font-size: 14px;
}

.mall-search-head span {
  color: #8a98a4;
  font-size: 11px;
}

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

.mall-layout {
  height: calc(100% - 108px);
}

.category-list {
  background: #edf3f7;
}

.category-list button {
  margin: 2px 7px;
  width: calc(100% - 14px);
  border-left: 0;
  border-radius: 8px;
}

.category-list .active {
  background: #ffffff;
  box-shadow: 0 8px 18px rgba(28, 45, 60, 0.07);
}

.mall-products {
  padding-top: 14px;
}

.shop-card {
  border: 0;
  box-shadow: 0 12px 26px rgba(28, 45, 60, 0.07);
}

.shop-card p {
  margin-top: 6px;
}

.detail-screen .page-scroll {
  background: linear-gradient(180deg, #f5f9fc, #ffffff 44%);
}

.detail-photo {
  border: 1px solid rgba(255, 255, 255, 0.9);
}

.detail-info,
.copy-block,
.feature-list {
  background: transparent;
}

.buybar {
  left: 10px;
  right: 10px;
  bottom: 18px;
  z-index: 7;
  height: 58px;
  border: 1px solid rgba(224, 232, 238, 0.9);
  border-radius: 8px;
  box-shadow: 0 18px 36px rgba(28, 45, 60, 0.14);
}

.detail-screen .page-scroll {
  padding-bottom: 112px;
}

.detail-screen {
  overflow: hidden;
}

.detail-screen .page-scroll {
  height: calc(100% - 126px);
  overflow-y: auto;
  padding-bottom: 20px;
}

.detail-screen .buybar {
  bottom: 14px;
}

.device-list-card {
  box-shadow: 0 16px 34px rgba(28, 45, 60, 0.08);
}

.device-summary b {
  color: #0b5c96;
}

.online {
  background: #e8f8ee;
}

.user-screen::before {
  height: 222px;
  background: linear-gradient(180deg, #e8f4ff, rgba(245, 249, 252, 0));
}

.user-hero {
  margin: 0 0 12px;
  padding: 14px 18px 16px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.72)),
    linear-gradient(135deg, #e7f4ff, #fff4d8);
}

.user-head {
  min-height: 78px;
  padding: 4px 0 12px;
  background: transparent;
}

.avatar {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.1)),
    linear-gradient(135deg, #d7dde3, #eef1f3);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.member-banner {
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.78);
  background: linear-gradient(135deg, #fff1bf, #fff8e7);
}

.stats-row {
  margin: 10px 0 0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.asset-grid .asset-card {
  box-shadow: 0 12px 26px rgba(28, 45, 60, 0.06);
}

.orders,
.common-tools {
  background: #ffffff;
  box-shadow: 0 8px 22px rgba(28, 45, 60, 0.04);
}

.order-icons span::before,
.tool-grid span::before {
  background: #f6fafc;
}

.pet-avatar {
  background: linear-gradient(135deg, #fff2c7, #eaf6ff);
  box-shadow: 0 12px 26px rgba(28, 45, 60, 0.08);
}

/* Visual asset redesign */
.flagship-home,
.flagship-travel,
.flagship-device,
.flagship-detail {
  background:
    linear-gradient(180deg, #ffffff 0 50px, #edf6fb 50px 230px, #f7fafc 230px 100%);
}

.hero-image-card {
  height: 184px;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
  border: 0;
  box-shadow: 0 18px 42px rgba(28, 45, 60, 0.12);
}

.home-carousel {
  position: relative;
}

.banner-track,
.banner-slide {
  position: absolute;
  inset: 0;
}

.banner-slide {
  opacity: 0;
  pointer-events: none;
  transition: opacity 520ms ease;
}

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

.banner-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.12) 52%, rgba(255, 255, 255, 0));
  z-index: 1;
}

.hero-image-card::before,
.hero-orbit,
.path,
.pin {
  display: none;
}

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

.hero-copy {
  position: absolute;
  left: 20px;
  top: 20px;
  width: 205px;
  z-index: 3;
}

.hero-copy h2 {
  margin: 0 0 8px;
  color: #3b2f12;
  font-size: 21px;
  line-height: 1.28;
}

.hero-copy p {
  margin: 0 0 14px;
  color: #66552b;
  font-size: 12px;
}

.hero-copy button {
  min-width: 76px;
}

.flagship-home .pager {
  height: 28px;
}

.banner-pager {
  gap: 7px;
}

.banner-pager span {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #c8d4dd;
  transition: width 220ms ease, background 220ms ease;
}

.banner-pager span.active {
  width: 18px;
  background: #132c3f;
}

.experience-panel {
  border: 0;
  box-shadow: 0 14px 34px rgba(28, 45, 60, 0.08);
}

.experience-panel .service {
  background: #ffffff;
  box-shadow: none;
}

.experience-panel .service .icon {
  box-shadow: 0 8px 16px rgba(28, 45, 60, 0.1);
}

.flagship-home .product-card {
  min-height: 176px;
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}

.flagship-home .product-art {
  height: 84px;
}

.travel-image-hero {
  position: relative;
  height: 218px;
  overflow: hidden;
  padding: 0;
  background: #ffffff;
}

.travel-image-hero::after {
  content: "";
  position: absolute;
  left: 16px;
  top: 16px;
  width: 200px;
  height: 126px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 26px rgba(28, 45, 60, 0.1);
  backdrop-filter: blur(10px);
  z-index: 1;
}

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

.travel-image-hero h3,
.travel-image-hero p,
.travel-image-hero button {
  position: relative;
  z-index: 2;
  margin-left: 30px;
}

.travel-image-hero h3 {
  padding-top: 28px;
  max-width: 172px;
  color: #123858;
  font-size: 19px;
}

.travel-image-hero p {
  max-width: 166px;
  color: #4c6474;
  font-size: 11px;
}

.travel-image-hero button {
  margin-top: 2px;
}

.travel-card,
.prep-card {
  border: 0;
  box-shadow: 0 12px 28px rgba(28, 45, 60, 0.07);
}

.detail-visual {
  height: 252px;
  padding: 0;
  overflow: hidden;
  background: #ffffff;
}

.detail-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.detail-visual .photo-count {
  left: auto;
  right: 18px;
  bottom: 16px;
  transform: none;
  background: rgba(31, 45, 56, 0.8);
}

.flagship-detail .detail-info {
  padding-top: 20px;
}

.flagship-detail .detail-info h3 {
  font-size: 22px;
}

.flagship-detail .price-row b {
  font-size: 30px;
}

.device-banner {
  position: relative;
  min-height: 188px;
  margin: 16px 18px 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 18px 42px rgba(28, 45, 60, 0.12);
}

.device-banner img {
  width: 100%;
  height: 188px;
  object-fit: cover;
  display: block;
}

.device-banner div {
  position: absolute;
  left: 16px;
  top: 16px;
  width: 178px;
  padding: 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 22px rgba(28, 45, 60, 0.08);
  backdrop-filter: blur(10px);
}

.device-banner h3 {
  margin: 0 0 8px;
  color: #123858;
  font-size: 20px;
  line-height: 1.25;
}

.device-banner p {
  margin: 0;
  color: #526b7b;
  font-size: 12px;
  line-height: 1.55;
}

.device-banner.compact {
  min-height: 128px;
}

.device-banner.compact img {
  height: 128px;
}

.flagship-device .device-list-card {
  border: 0;
  background: #ffffff;
}

.flagship-device .device-mini {
  grid-template-columns: 54px 1fr auto;
}

.flagship-device .device-mini .product-art {
  overflow: hidden;
  transform: none;
}

.flagship-device .device-mini .product-art::before {
  left: 6px;
  top: 14px;
  width: 36px;
  height: 24px;
  border-width: 3px;
}

.flagship-device .device-mini .product-art::after {
  left: 21px;
  top: 21px;
  width: 13px;
  height: 13px;
}

.flagship-device .device-mini h3,
.flagship-device .device-mini p {
  position: relative;
  z-index: 1;
}

.flagship-device .empty-device {
  display: none;
}

.user-screen .asset-card,
.orders,
.common-tools {
  border: 0;
}

.user-hero {
  background:
    linear-gradient(180deg, rgba(255,255,255,.86), rgba(255,255,255,.66)),
    url("./assets/banner-home.svg") center/cover;
}

.member-banner {
  backdrop-filter: blur(8px);
}

/* Photographic production pass */
.tabbar {
  position: absolute;
  z-index: 30;
  left: 16px;
  right: 16px;
  bottom: 12px;
}

.hero-image-card {
  height: 202px;
  box-shadow: 0 20px 46px rgba(28, 45, 60, 0.16);
}

.hero-image-card img,
.travel-image-hero img,
.detail-visual img,
.device-banner img {
  filter: saturate(0.96) contrast(1.03);
}

.hero-image-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(8, 22, 34, 0.68), rgba(8, 22, 34, 0.26) 48%, rgba(8, 22, 34, 0.04)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.14), transparent 50%);
}

.hero-copy {
  top: 26px;
  width: 214px;
}

.hero-copy h2 {
  color: #ffffff;
  font-size: 23px;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.86);
}

.hero-copy button {
  color: #ffffff;
  background: rgba(255, 90, 95, 0.96);
  box-shadow: 0 12px 24px rgba(255, 90, 95, 0.28);
}

.travel-image-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(6, 18, 30, 0.64), rgba(6, 18, 30, 0.25) 46%, rgba(6, 18, 30, 0.04)),
    linear-gradient(0deg, rgba(0, 0, 0, 0.16), transparent 50%);
}

.travel-image-hero::after {
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(10px);
}

.travel-image-hero h3 {
  color: #ffffff;
  font-size: 19px;
  text-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.travel-image-hero p {
  color: rgba(255, 255, 255, 0.86);
}

.detail-visual {
  position: relative;
}

.detail-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 20, 32, 0.6), transparent 58%);
  pointer-events: none;
}

.detail-product-card {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  width: 210px;
  padding: 13px 14px;
  border-radius: 8px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.32);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
}

.detail-product-card strong {
  display: block;
  font-size: 18px;
}

.detail-product-card span {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 11px;
}

.product-photo {
  overflow: hidden;
  position: relative;
  background: #eef4f7;
}

.product-photo::before,
.product-photo::after {
  display: none !important;
}

.product-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.02);
}

.product-card .product-photo {
  border-radius: 8px;
}

.product-card .product-photo img {
  object-position: center;
}

.shop-card .product-photo {
  box-shadow: inset 0 0 0 1px rgba(19, 37, 52, 0.06);
}

.shop-card .product-photo::after {
  content: "" !important;
  display: block !important;
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(12, 28, 42, 0.2));
}

.shop-card .product-photo.gps img,
.shop-card .product-photo.camera img {
  object-position: center 40%;
}

.device-mini .product-photo {
  border-radius: 7px;
  border: 1px solid rgba(19, 37, 52, 0.08);
}

.device-banner {
  background: #111d29;
}

.device-banner img {
  object-position: center 34%;
}

.device-banner::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 20, 32, 0.62), rgba(7, 20, 32, 0.18) 58%, rgba(7, 20, 32, 0));
  pointer-events: none;
}

.device-banner div {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.14);
  z-index: 2;
}

.device-banner h3 {
  color: #ffffff;
}

.device-banner p {
  color: rgba(255, 255, 255, 0.84);
}

/* Desktop presentation fit */
@media (min-width: 781px) {
  body {
    width: 100%;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
  }

  .demo-shell {
    width: min(980px, calc(100% - 56px));
    height: 100vh;
    min-height: 0;
    padding: 0;
    gap: 48px;
  }

  .demo-phone-wrap {
    width: 338px;
    height: 718px;
    display: grid;
    place-items: center;
    overflow: visible;
  }

  .demo-screen {
    width: 382px;
    height: 812px;
    transform: scale(0.88);
    transform-origin: center;
  }
}

@media (max-height: 760px) and (min-width: 781px) {
  .demo-phone-wrap {
    width: 316px;
    height: 672px;
  }

  .demo-screen {
    transform: scale(0.825);
  }
}

/* Direct app mode */
.app-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 90, 95, 0.08), transparent 26%),
    radial-gradient(circle at 88% 8%, rgba(47, 140, 255, 0.1), transparent 30%),
    #eef5f9;
}

.app-body .app-screen {
  width: min(100vw, 430px);
  height: 100vh;
  max-height: 932px;
  border: 0;
  border-radius: 0;
  box-shadow: 0 22px 58px rgba(27, 44, 60, 0.14);
}

.app-body .app-screen::before {
  display: none;
}

@media (max-width: 780px) {
  .app-body .app-screen {
    width: 100vw;
    height: 100vh;
    max-height: none;
  }
}

/* Color tabbar refinement */
.tabbar {
  height: 66px;
  padding: 7px 8px 8px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(218, 230, 238, 0.96);
  box-shadow: 0 16px 36px rgba(20, 38, 54, 0.16);
  backdrop-filter: blur(18px);
}

.tabbar button {
  height: 50px;
  gap: 3px;
  color: #82919d;
}

.tabbar button.active {
  color: #132c3f;
}

.tabbar button.active::after {
  top: 1px;
  width: 52px;
  height: 46px;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(240, 248, 255, 0.96), rgba(225, 242, 255, 0.92));
  box-shadow: inset 0 0 0 1px rgba(47, 140, 255, 0.1), 0 8px 18px rgba(47, 140, 255, 0.14);
}

.tabbar button span {
  position: relative;
  z-index: 1;
  color: inherit;
  font-size: 10px;
  font-weight: 700;
}

.tabbar button.active span {
  color: #0a5f97;
}

.tab-icon {
  z-index: 1;
  width: 25px;
  height: 25px;
  border-radius: 9px;
  color: #ffffff;
  box-shadow: 0 7px 15px rgba(20, 38, 54, 0.13);
  transform: translateY(0);
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.tabbar button.active .tab-icon {
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 9px 18px rgba(20, 38, 54, 0.18);
  filter: saturate(1.08);
}

.tab-home {
  background: linear-gradient(145deg, #27b3ff, #006eea);
}

.tab-pin {
  background: linear-gradient(145deg, #ffb44d, #ff6b4a);
}

.tab-grid {
  background: linear-gradient(145deg, #7c6cff, #2f8cff);
}

.tab-chip {
  background: linear-gradient(145deg, #35d98f, #00a8a8);
}

.tab-profile {
  background: linear-gradient(145deg, #ff79b7, #ff5a5f);
}

.tabbar button:not(.active) .tab-icon {
  opacity: 0.72;
}

.tab-home::before {
  left: 5px;
  bottom: 5px;
  width: 13px;
  height: 10px;
  border-width: 2px;
}

.tab-home::after {
  left: 6px;
  top: 5px;
  width: 11px;
  height: 11px;
  border-width: 2px 0 0 2px;
}

.tab-pin::before {
  left: 5px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-width: 2px;
}

.tab-pin::after {
  left: 10px;
  top: 9px;
}

.tab-grid::before {
  left: 5px;
  top: 5px;
  width: 6px;
  height: 6px;
  box-shadow: 9px 0 0 currentColor, 0 9px 0 currentColor, 9px 9px 0 currentColor;
}

.tab-chip::before {
  left: 5px;
  top: 5px;
  width: 13px;
  height: 13px;
  border-width: 2px;
}

.tab-chip::after {
  left: 9px;
  top: 9px;
}

.tab-profile::before {
  left: 8px;
  top: 5px;
}

.tab-profile::after {
  left: 5px;
  bottom: 5px;
  width: 15px;
  height: 8px;
}

/* Travel page colorful icons */
.travel-icon {
  position: relative;
  display: block;
  box-shadow: 0 10px 20px rgba(20, 38, 54, 0.1);
}

.travel-icon::before,
.travel-icon::after,
.prep-card::before,
.prep-card::after {
  content: "";
  position: absolute;
  display: block;
}

.travel-icon-air {
  background: linear-gradient(145deg, #39a7ff, #006eea) !important;
}

.travel-icon-air::before {
  left: 13px;
  top: 20px;
  width: 22px;
  height: 4px;
  border-radius: 999px;
  background: #ffffff;
  transform: rotate(-24deg);
}

.travel-icon-air::after {
  left: 21px;
  top: 11px;
  width: 5px;
  height: 24px;
  border-radius: 999px;
  background: #ffffff;
  transform: rotate(48deg);
  box-shadow: -8px 8px 0 -1px rgba(255, 255, 255, 0.88);
}

.travel-icon-city {
  background: linear-gradient(145deg, #ffb45d, #ff6b4a) !important;
}

.travel-icon-city::before {
  left: 12px;
  bottom: 11px;
  width: 8px;
  height: 18px;
  border-radius: 3px 3px 0 0;
  background: #ffffff;
  box-shadow: 12px -6px 0 #ffffff;
}

.travel-icon-city::after {
  left: 14px;
  bottom: 15px;
  width: 3px;
  height: 3px;
  border-radius: 1px;
  background: #ff8d4c;
  box-shadow: 0 6px 0 #ff8d4c, 12px 0 0 #ff8d4c, 12px 6px 0 #ff8d4c;
}

.travel-icon-global {
  background: linear-gradient(145deg, #8b7cff, #2f8cff) !important;
}

.travel-icon-global::before {
  left: 12px;
  top: 12px;
  width: 22px;
  height: 22px;
  border: 3px solid #ffffff;
  border-radius: 50%;
}

.travel-icon-global::after {
  left: 21px;
  top: 10px;
  width: 3px;
  height: 26px;
  border-radius: 999px;
  background: #ffffff;
  box-shadow: -9px 12px 0 -8px #ffffff, 9px 12px 0 -8px #ffffff;
}

.prep-card {
  position: relative;
  padding-left: 52px;
}

.prep-card::before {
  left: 14px;
  top: 15px;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  box-shadow: 0 8px 16px rgba(20, 38, 54, 0.08);
}

.prep-card::after {
  left: 23px;
  top: 24px;
  width: 10px;
  height: 10px;
}

.prep-pet::before {
  background: linear-gradient(145deg, #35d98f, #00a8a8);
}

.prep-pet::after {
  border-radius: 50%;
  background: #ffffff;
  box-shadow: -6px -4px 0 -3px #ffffff, 6px -4px 0 -3px #ffffff, -5px 5px 0 -3px #ffffff, 5px 5px 0 -3px #ffffff;
}

.prep-cert::before {
  background: linear-gradient(145deg, #ffb45d, #ff7b4f);
}

.prep-cert::after {
  width: 12px;
  height: 15px;
  border-radius: 2px;
  background: #ffffff;
  box-shadow: inset 0 -4px 0 rgba(255, 123, 79, 0.3);
}

.prep-box::before {
  background: linear-gradient(145deg, #39a7ff, #006eea);
}

.prep-box::after {
  width: 13px;
  height: 10px;
  border: 2px solid #ffffff;
  border-top: 0;
  border-radius: 2px;
  box-shadow: 0 -7px 0 -4px #ffffff;
}

.prep-guide::before {
  background: linear-gradient(145deg, #ff79b7, #ff5a5f);
}

.prep-guide::after {
  width: 12px;
  height: 14px;
  border-radius: 2px;
  background: linear-gradient(#ffffff 0 0) left 3px top 4px/8px 2px no-repeat, linear-gradient(#ffffff 0 0) left 3px top 8px/6px 2px no-repeat, #ffffff;
}

.prep-mall-row {
  margin-top: 10px;
}

.prep-mall::before {
  background: linear-gradient(145deg, #5ec8ff, #2a8dff);
}

.prep-mall::after {
  width: 12px;
  height: 11px;
  border-radius: 0 0 3px 3px;
  background: #ffffff;
  box-shadow: 0 -6px 0 -3px #ffffff, inset 0 2px 0 rgba(42, 141, 255, 0.25);
}

/* Commerce flow */
.commerce-screen {
  background: linear-gradient(180deg, #eef6fb 0, #f7fafc 44%, #ffffff 100%);
  overflow: hidden;
}

.commerce-screen .page-scroll {
  padding: 14px 16px 96px;
}

.commerce-list,
.order-list,
.pay-card,
.payment-methods,
.commerce-empty {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(224, 232, 238, 0.86);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(28, 45, 60, 0.08);
}

.commerce-list,
.pay-card,
.payment-methods,
.order-list {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.commerce-item,
.pay-item {
  display: grid;
  grid-template-columns: 72px 1fr auto;
  gap: 12px;
  align-items: center;
}

.cart-item {
  grid-template-columns: 28px 72px 1fr auto;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
  border: 1px solid #e8eef3;
}

.cart-item.is-checked {
  border-color: rgba(11, 92, 150, 0.28);
  background: linear-gradient(135deg, #f7fbff, #ffffff);
}

.cart-check {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #5a6a76;
  font-size: 12px;
  font-weight: 700;
  user-select: none;
}

.cart-check input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: #0b5c96;
}

.cart-item-check {
  justify-content: center;
}

.cart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 16px 0;
  padding: 0 2px;
}

.cart-toolbar em {
  color: #82919d;
  font-size: 12px;
  font-style: normal;
}

.cart-checkout-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
}

.cart-checkout-sum {
  text-align: right;
}

.cart-checkout-sum span {
  display: block;
  margin-bottom: 2px;
}

.cart-checkout-bar button:disabled {
  opacity: 0.45;
}

.commerce-item img,
.pay-item img {
  width: 72px;
  height: 56px;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.commerce-item strong,
.pay-item strong,
.latest-order strong {
  display: block;
  color: #1f2d38;
  font-size: 14px;
}

.commerce-item span,
.pay-item span,
.latest-order span {
  display: block;
  margin-top: 4px;
  color: #7b8791;
  font-size: 11px;
}

.commerce-item p {
  margin: 5px 0 0;
  color: #9aa5ad;
  font-size: 11px;
}

.cart-item-info {
  min-width: 0;
}

.cart-qty {
  display: inline-flex;
  align-items: center;
  gap: 0;
  margin-top: 8px;
  border: 1px solid #e3ebf1;
  border-radius: 999px;
  background: #f7fafc;
  overflow: hidden;
}

.cart-qty-btn {
  width: 30px;
  height: 28px;
  border: 0;
  background: transparent;
  color: #1c2d3c;
  font-size: 16px;
  font-weight: 700;
  line-height: 1;
}

.cart-qty-btn:active {
  background: #e8f0f5;
}

.cart-qty-num {
  min-width: 28px;
  padding: 0 4px;
  color: #1c2d3c;
  font-size: 13px;
  font-style: normal;
  font-weight: 800;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.commerce-item b,
.pay-item b,
.latest-order b {
  color: #ff5a5f;
  font-size: 14px;
}

.commerce-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 32;
  display: grid;
  grid-template-columns: 1fr 148px;
  gap: 12px;
  align-items: center;
  padding: 10px 16px 14px;
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid rgba(224, 232, 238, 0.9);
  box-shadow: 0 -14px 28px rgba(28, 45, 60, 0.08);
}

.commerce-bar span {
  display: block;
  color: #7b8791;
  font-size: 11px;
}

.commerce-bar strong {
  color: #ff5a5f;
  font-size: 22px;
}

.commerce-bar button,
.commerce-empty button,
.order-actions button {
  height: 44px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(145deg, #ff5a5f, #ff7b58);
  font-weight: 800;
}

.commerce-empty {
  margin-top: 96px;
  padding: 30px 22px;
  text-align: center;
}

.commerce-empty h3 {
  margin: 0 0 8px;
  font-size: 18px;
}

.commerce-empty p {
  margin: 0 0 18px;
  color: #7b8791;
  font-size: 12px;
  line-height: 1.7;
}

.commerce-empty button {
  width: 132px;
}

.pay-card h3,
.payment-methods h3 {
  margin: 0;
  color: #1f2d38;
  font-size: 16px;
}

.pay-address {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 8px;
  background: #f1f6f9;
}

.pay-address strong {
  font-size: 12px;
}

.pay-address span {
  color: #61717d;
  font-size: 12px;
}

.method {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 8px;
  background: #f5f8fa;
}

.method > span {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(145deg, #35d98f, #00a8a8);
}

.method strong {
  font-size: 13px;
}

.method p {
  margin: 3px 0 0;
  color: #7b8791;
  font-size: 11px;
}

.method.selected {
  background: #ecfff6;
  box-shadow: inset 0 0 0 1px rgba(53, 217, 143, 0.22);
}

.order-tabs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 12px;
}

.order-tabs button {
  height: 34px;
  border: 0;
  border-radius: 8px;
  color: #70808b;
  background: rgba(255, 255, 255, 0.82);
  font-size: 11px;
  font-weight: 700;
  padding: 0 2px;
  white-space: nowrap;
}

.order-tabs .active {
  color: #0a5f97;
  background: #e5f4ff;
}

.order-card {
  display: grid;
  gap: 12px;
  padding: 13px;
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(28, 45, 60, 0.06);
}

.order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #7b8791;
  font-size: 11px;
}

.order-head b {
  color: #ff7b58;
}

.order-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.order-actions button {
  width: 88px;
  height: 34px;
  color: #0a5f97;
  background: #e5f4ff;
  font-size: 12px;
}

.order-actions button:last-child {
  color: #ffffff;
  background: linear-gradient(145deg, #ff5a5f, #ff7b58);
}

.express-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(18, 28, 38, 0.46);
  padding: 0;
}

.express-sheet {
  width: min(100%, 480px);
  max-height: min(78vh, 640px);
  overflow: auto;
  border-radius: 18px 18px 0 0;
  background: #fff;
  box-shadow: 0 -12px 40px rgba(20, 36, 52, 0.18);
  padding: 16px 16px calc(18px + env(safe-area-inset-bottom, 0px));
}

.express-sheet-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.express-sheet-head h3 {
  margin: 0;
  font-size: 17px;
  color: #1c2d3c;
}

.express-sheet-head p {
  margin: 4px 0 0;
  font-size: 12px;
  color: #7b8791;
}

.express-close {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #f1f4f7;
  color: #5a6b78;
  font-size: 20px;
  line-height: 1;
}

.express-meta {
  display: grid;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  background: #f5f8fb;
  margin-bottom: 16px;
}

.express-meta > div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 8px;
  align-items: start;
  font-size: 12px;
}

.express-meta span {
  color: #7b8791;
}

.express-meta strong {
  color: #1c2d3c;
  font-weight: 600;
  line-height: 1.45;
}

.express-meta small {
  color: #7b8791;
  font-weight: 400;
}

.express-no {
  letter-spacing: 0.02em;
  word-break: break-all;
}

.express-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 8px 2px;
}

.express-timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 10px;
  padding: 0 0 16px 0;
}

.express-timeline li::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 14px;
  bottom: 0;
  width: 2px;
  background: #e4ebf1;
}

.express-timeline li:last-child {
  padding-bottom: 0;
}

.express-timeline li:last-child::before {
  display: none;
}

.express-timeline i {
  position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  margin-top: 4px;
  border-radius: 50%;
  background: #c9d4de;
  box-shadow: 0 0 0 3px #fff;
}

.express-timeline li.active i {
  background: #ff7b58;
  box-shadow: 0 0 0 3px rgba(255, 123, 88, 0.2);
}

.express-timeline strong {
  display: block;
  color: #5a6b78;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
}

.express-timeline li.active strong {
  color: #1c2d3c;
  font-weight: 700;
}

.express-timeline span {
  display: block;
  margin-top: 4px;
  color: #9aa6b2;
  font-size: 11px;
}

.latest-order {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
  padding: 12px;
  border-radius: 8px;
  background: #f7fafc;
}

.latest-order.empty b {
  color: #0a5f97;
}

/* Mall category interaction */
.mall-product-set {
  display: none;
  gap: 10px;
}

.mall-product-set.active {
  display: flex;
  flex-direction: column;
}

.category-list button {
  cursor: pointer;
}

.shop-row {
  display: grid;
  grid-template-columns: 1fr 52px;
  align-items: center;
  gap: 8px;
  min-height: 98px;
  margin-bottom: 10px;
  padding: 9px;
  border: 1px solid rgba(218, 228, 235, 0.92);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 10px 22px rgba(28, 45, 60, 0.055);
}

.shop-row-main {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 10px;
  align-items: center;
  min-width: 0;
  padding: 0;
  border: 0;
  text-align: left;
  color: inherit;
  background: transparent;
}

.shop-row .shop-art {
  width: 70px;
  height: 76px;
  border-radius: 8px;
}

.shop-info {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.shop-info em {
  justify-self: start;
  padding: 2px 6px;
  border-radius: 999px;
  color: #ff5966;
  font-size: 9px;
  font-style: normal;
  font-weight: 800;
  background: #fff0f1;
}

.shop-info strong {
  overflow: hidden;
  color: #172a3a;
  font-size: 13px;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-info small {
  display: -webkit-box;
  overflow: hidden;
  color: #81909c;
  font-size: 10px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.shop-price {
  color: #ff4d5d;
  font-size: 14px;
  font-weight: 900;
}

.shop-price del {
  margin-left: 4px;
  color: #a8b2bb;
  font-size: 10px;
  font-weight: 700;
}

.shop-add {
  width: 52px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 900;
  background: linear-gradient(135deg, #ff9b5f 0%, #ff5366 100%);
  box-shadow: 0 8px 16px rgba(255, 95, 99, 0.24);
}

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

/* Product page with shared tabbar */
.detail-screen.flagship-detail .page-scroll {
  height: calc(100% - 198px);
  padding-bottom: 14px;
}

.detail-screen.flagship-detail .buybar {
  bottom: 88px;
  z-index: 31;
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(28, 45, 60, 0.1);
}

.detail-screen.flagship-detail .tabbar {
  bottom: 12px;
}

/* Colorful user center icons */
.asset-card .asset-icon,
.order-icons span::before,
.tool-grid span::before {
  box-shadow: 0 8px 16px rgba(20, 38, 54, 0.1);
}

.asset-pet {
  background: linear-gradient(145deg, #39a7ff, #006eea) !important;
}

.asset-cert {
  background: linear-gradient(145deg, #ffb45d, #ff7b4f) !important;
}

.asset-device {
  background: linear-gradient(145deg, #35d98f, #00a8a8) !important;
}

.asset-insurance {
  background: linear-gradient(145deg, #8b7cff, #2f8cff) !important;
}

.asset-address {
  background: linear-gradient(145deg, #ff9f43, #ff6b35) !important;
}

.asset-address::before {
  width: 14px;
  height: 14px;
  left: 10px;
  top: 7px;
  border: 2px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  background: rgba(255, 255, 255, 0.25);
}

.asset-address::after {
  width: 4px;
  height: 4px;
  left: 15px;
  top: 12px;
  border-radius: 50%;
  background: #fff;
}

.profile-address-link {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.profile-address-value {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 2px;
}

.profile-address-value strong {
  flex: 1;
  color: #1c2d3c;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  word-break: break-all;
}

.profile-address-value em {
  flex-shrink: 0;
  color: #0b5c96;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.order-pay::before {
  background: linear-gradient(145deg, #ffb45d, #ff7b4f) !important;
}

.order-box::before {
  background: linear-gradient(145deg, #8b7cff, #2f8cff) !important;
}

.order-car::before {
  background: linear-gradient(145deg, #35d98f, #00a8a8) !important;
}

.order-chat::before {
  background: linear-gradient(145deg, #39a7ff, #006eea) !important;
}

.order-return::before {
  background: linear-gradient(145deg, #ff79b7, #ff5a5f) !important;
}

.order-plane::before {
  background: linear-gradient(145deg, #39a7ff, #006eea) !important;
}

.order-home::before {
  background: linear-gradient(145deg, #ffb45d, #ff7b4f) !important;
}

.order-door::before {
  background: linear-gradient(145deg, #35d98f, #00a8a8) !important;
}

.order-care::before {
  background: linear-gradient(145deg, #ff79b7, #ff5a5f) !important;
}

.order-calendar::before {
  background: linear-gradient(145deg, #8b7cff, #2f8cff) !important;
}

.tool-address::before {
  background: linear-gradient(145deg, #ffb45d, #ff7b4f) !important;
}

.tool-coupon::before {
  background: linear-gradient(145deg, #ff79b7, #ff5a5f) !important;
}

.tool-member::before {
  background: linear-gradient(145deg, #8b7cff, #2f8cff) !important;
}

.tool-service::before {
  background: linear-gradient(145deg, #39a7ff, #006eea) !important;
}

.tool-repair::before {
  background: linear-gradient(145deg, #35d98f, #00a8a8) !important;
}

.tool-shop::before {
  background: linear-gradient(145deg, #ffb45d, #ff7b4f) !important;
}

/* Product detail actions are part of content, not floating */
.detail-screen.flagship-detail .page-scroll {
  height: calc(100% - 88px);
  padding-bottom: 108px;
}

.detail-screen.flagship-detail .buybar {
  position: static;
  left: auto;
  right: auto;
  bottom: auto;
  z-index: 1;
  height: auto;
  margin: 18px 18px 6px;
  padding: 11px;
  border: 1px solid rgba(221, 231, 238, 0.96);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 28px rgba(28, 45, 60, 0.08);
}

.detail-screen.flagship-detail .buybar .stepper {
  flex: 0 0 84px;
}

.detail-screen.flagship-detail .cart-btn,
.detail-screen.flagship-detail .buy-btn {
  flex: 1 1 0;
  min-width: 0;
}

/* Polished user-center icon buttons */
.user-screen .asset-grid {
  gap: 10px;
}

.user-screen .asset-card {
  position: relative;
  overflow: hidden;
  min-height: 78px;
  border: 1px solid rgba(228, 236, 242, 0.9);
  background: linear-gradient(180deg, #ffffff 0%, #fbfdff 100%);
  box-shadow: 0 12px 26px rgba(25, 44, 61, 0.065);
}

.user-screen .asset-card::after {
  content: "";
  position: absolute;
  right: -18px;
  top: -18px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(72, 143, 255, 0.08);
}

.user-screen .asset-card:active,
.user-screen .order-icons span:active,
.user-screen .tool-grid span:active {
  transform: translateY(1px);
}

.asset-card .asset-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  box-shadow: 0 11px 20px rgba(20, 38, 54, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.42);
}

.asset-card span {
  color: #172a3a;
  font-size: 13px;
  font-weight: 900;
}

.asset-card b {
  color: #8a98a4;
  font-size: 10px;
  font-weight: 700;
}

.asset-icon::before,
.asset-icon::after,
.order-icons span::after,
.tool-grid span::after {
  color: #ffffff;
}

.user-screen .order-icons {
  gap: 8px;
}

.user-screen .order-icons span {
  min-height: 52px;
  color: #394957;
  font-size: 10px;
  font-weight: 700;
}

.user-screen .order-icons span::before {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  box-shadow: 0 10px 18px rgba(20, 38, 54, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.user-screen .order-icons span::after {
  top: 10px;
}

.user-screen .tool-grid {
  gap: 13px 12px;
}

.user-screen .tool-grid span {
  min-height: 58px;
  color: #394957;
  font-size: 10px;
  font-weight: 700;
}

.user-screen .tool-grid span::before {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  box-shadow: 0 10px 18px rgba(20, 38, 54, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.user-screen .tool-grid span::after {
  top: 9px;
}

/* Refined device detail monitor */
.device-detail-screen.flagship-device {
  background: linear-gradient(180deg, #f4f9fc 0%, #ffffff 62%);
}

.device-detail-screen.flagship-device .page-scroll {
  height: calc(100% - 58px);
  padding: 14px 18px 112px;
  overflow-y: auto;
}

.device-status-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  min-height: 118px;
  padding: 18px;
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(15, 33, 47, 0.4), rgba(15, 33, 47, 0.08)),
    url("./assets/photos/air-travel.jpg") center/cover;
  box-shadow: 0 16px 34px rgba(28, 45, 60, 0.12);
}

.device-status-copy span {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
  font-weight: 800;
}

.device-status-copy h3 {
  margin: 0;
  font-size: 20px;
  line-height: 1.15;
}

.device-status-copy p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 11px;
}

.device-status-chip {
  padding: 6px 10px;
  border-radius: 999px;
  color: #0f7a44;
  font-size: 11px;
  font-weight: 900;
  background: #dffbe8;
  box-shadow: 0 8px 18px rgba(15, 122, 68, 0.18);
}

.device-metrics-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid rgba(222, 232, 238, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 26px rgba(28, 45, 60, 0.07);
}

.device-metrics-card div {
  display: grid;
  gap: 4px;
  justify-items: center;
  min-width: 0;
  padding: 8px 4px;
  border-radius: 8px;
  background: #f7fafc;
}

.device-metrics-card b {
  color: #163148;
  font-size: 13px;
  line-height: 1;
}

.device-metrics-card span {
  color: #81909c;
  font-size: 9px;
}

.device-detail-screen .premium-live {
  height: 168px;
  margin: 14px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.9);
  background: #172431;
  box-shadow: 0 16px 34px rgba(28, 45, 60, 0.12);
}

.premium-live img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
}

.premium-live::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 21, 32, 0.12), rgba(10, 21, 32, 0.58));
}

.premium-live .live-badge,
.premium-live .play-button,
.premium-live p,
.premium-live span {
  z-index: 1;
}

.device-detail-screen .premium-actions {
  margin: 12px 0 0;
  padding: 10px;
  border: 1px solid rgba(222, 232, 238, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 26px rgba(28, 45, 60, 0.06);
}

.premium-actions div {
  min-height: 64px;
  border-radius: 8px;
  color: #365267;
  font-weight: 800;
  background: #f7fafc;
}

.premium-actions i {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: linear-gradient(145deg, #39a7ff, #006eea);
  box-shadow: 0 10px 18px rgba(0, 110, 234, 0.16);
}

.premium-actions div:nth-child(2) i {
  background: linear-gradient(145deg, #ffb45d, #ff7b4f);
}

.premium-actions div:nth-child(3) i {
  background: linear-gradient(145deg, #35d98f, #00a8a8);
}

.premium-panel {
  margin: 14px 0 0;
  padding: 14px;
  border: 1px solid rgba(222, 232, 238, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 26px rgba(28, 45, 60, 0.055);
}

.premium-panel h3 {
  margin: 0 0 10px;
  color: #172a3a;
  font-size: 15px;
}

.premium-panel .alert-row,
.premium-panel.travel-records div {
  height: 39px;
  margin-top: 8px;
  border: 0;
  border-radius: 8px;
  background: #f7fafc;
  color: #506473;
}

.premium-panel .alert-row b {
  color: #0f8f51;
  background: #e8fbef;
}

.premium-panel.travel-records b {
  color: #0b75bf;
}

/* User common tools and virtual feature pages */
.user-screen .tool-grid {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.user-screen .tool-grid button {
  position: relative;
  display: grid;
  justify-items: center;
  gap: 6px;
  min-width: 0;
  min-height: 58px;
  padding: 0;
  border: 0;
  color: #394957;
  font-size: 9px;
  font-weight: 800;
  background: transparent;
  cursor: pointer;
}

.user-screen .tool-grid button::before {
  content: "";
  width: 38px;
  height: 38px;
  border-radius: 8px;
  box-shadow: 0 10px 18px rgba(20, 38, 54, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.38);
}

.user-screen .tool-grid button::after {
  content: "";
  position: absolute;
  top: 9px;
  width: 14px;
  height: 14px;
  color: #ffffff;
}

.user-screen .tool-grid .tool-add::before {
  background: linear-gradient(145deg, #edf5fb, #dfeaf2);
}

.user-screen .tool-grid .tool-add::after {
  top: 13px;
  width: 14px;
  height: 14px;
  background:
    linear-gradient(#7d8c98, #7d8c98) center/14px 2px no-repeat,
    linear-gradient(#7d8c98, #7d8c98) center/2px 14px no-repeat;
}

.feature-screen {
  background: linear-gradient(180deg, #f4f9fc 0%, #ffffff 58%);
}

.feature-screen .page-scroll {
  padding: 16px 18px 96px;
}

.feature-hero {
  min-height: 150px;
  padding: 20px;
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(19, 45, 64, 0.86), rgba(16, 124, 153, 0.44)),
    url("./assets/photos/pet-life.jpg") center/cover;
  box-shadow: 0 16px 34px rgba(28, 45, 60, 0.12);
}

.feature-hero span {
  display: inline-block;
  padding: 5px 9px;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 10px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.16);
}

.feature-hero h3 {
  margin: 32px 0 8px;
  font-size: 24px;
  line-height: 1.12;
}

.feature-hero p {
  margin: 0;
  max-width: 270px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  line-height: 1.6;
}

.feature-panel {
  margin-top: 14px;
  padding: 16px;
  border: 1px solid rgba(222, 232, 238, 0.92);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 26px rgba(28, 45, 60, 0.055);
}

.feature-panel h3 {
  margin: 0 0 12px;
  color: #172a3a;
  font-size: 15px;
}

.feature-action-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.feature-action-grid button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  font-size: 11px;
  font-weight: 900;
  background: linear-gradient(145deg, #39a7ff, #006eea);
  box-shadow: 0 10px 18px rgba(0, 110, 234, 0.14);
}

.feature-action-grid button:nth-child(2) {
  background: linear-gradient(145deg, #ffb45d, #ff7b4f);
}

.feature-action-grid button:nth-child(3) {
  background: linear-gradient(145deg, #35d98f, #00a8a8);
}

.feature-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 0 12px;
  margin-top: 8px;
  border-radius: 8px;
  color: #506473;
  background: #f7fafc;
  font-size: 12px;
}

.feature-row b {
  color: #0b75bf;
  font-size: 11px;
}

/* Login/register page */
.login-screen {
  background: linear-gradient(180deg, #f3f9fc 0%, #ffffff 58%);
}

.login-screen .page-scroll {
  padding: 18px 18px 96px;
}

.login-hero {
  min-height: 190px;
  padding: 22px 20px;
  border-radius: 8px;
  color: #ffffff;
  background:
    linear-gradient(135deg, rgba(15, 34, 50, 0.82), rgba(18, 151, 165, 0.38)),
    url("./assets/photos/air-travel.jpg") center/cover;
  box-shadow: 0 16px 34px rgba(28, 45, 60, 0.13);
}

.login-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  color: #0a6f74;
  font-size: 22px;
  font-weight: 950;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 24px rgba(10, 30, 44, 0.18);
}

.login-hero h3 {
  margin: 54px 0 8px;
  font-size: 25px;
  line-height: 1.12;
}

.login-hero p {
  max-width: 280px;
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: 12px;
  line-height: 1.6;
}

.login-card {
  margin-top: -24px;
  padding: 16px;
  border: 1px solid rgba(222, 232, 238, 0.94);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 16px 34px rgba(28, 45, 60, 0.1);
}

.login-card label {
  display: grid;
  gap: 8px;
  margin-bottom: 13px;
}

.login-card label span {
  color: #506473;
  font-size: 11px;
  font-weight: 900;
}

.login-card input {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  border: 1px solid rgba(218, 228, 235, 0.95);
  border-radius: 8px;
  color: #172a3a;
  font-size: 15px;
  font-weight: 800;
  background: #f8fbfd;
  outline: 0;
}

.code-row {
  display: grid;
  grid-template-columns: 1fr 104px;
  gap: 9px;
}

.code-row button {
  border: 0;
  border-radius: 8px;
  color: #0b75bf;
  font-size: 12px;
  font-weight: 900;
  background: #e9f5ff;
}

.login-submit,
.wechat-login {
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 950;
}

.login-submit {
  color: #ffffff;
  background: linear-gradient(135deg, #ff9b5f 0%, #ff5366 100%);
  box-shadow: 0 14px 24px rgba(255, 83, 102, 0.22);
}

.wechat-login {
  display: grid;
  grid-template-columns: 22px auto;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: #123047;
  background: #f4f8fb;
}

.wechat-login i {
  width: 20px;
  height: 20px;
  border-radius: 7px;
  background: linear-gradient(145deg, #35d98f, #00a8a8);
}

.login-agree {
  margin: 12px 0 0;
  color: #98a5ae;
  font-size: 10px;
  line-height: 1.6;
  text-align: center;
}

.login-benefits {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.login-benefits div {
  padding: 13px 14px;
  border: 1px solid rgba(222, 232, 238, 0.9);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(28, 45, 60, 0.045);
}

.login-benefits b {
  display: block;
  color: #172a3a;
  font-size: 13px;
}

.login-benefits span {
  display: block;
  margin-top: 5px;
  color: #81909c;
  font-size: 11px;
}

/* Floating commerce actions */
.floating-cart {
  position: absolute;
  right: 18px;
  bottom: 104px;
  z-index: 35;
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  color: #ffffff;
  background: linear-gradient(145deg, #ff9b5f, #ff5366);
  box-shadow: 0 16px 30px rgba(255, 83, 102, 0.28);
}

.floating-cart i {
  position: relative;
  width: 22px;
  height: 18px;
  border: 2px solid currentColor;
  border-radius: 5px 5px 7px 7px;
}

.floating-cart i::before {
  content: "";
  position: absolute;
  left: 4px;
  top: -8px;
  width: 10px;
  height: 9px;
  border: 2px solid currentColor;
  border-bottom: 0;
  border-radius: 9px 9px 0 0;
}

.floating-cart b {
  position: absolute;
  right: -2px;
  top: -4px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border: 2px solid #ffffff;
  border-radius: 999px;
  color: #ff4f60;
  font-size: 10px;
  line-height: 14px;
  background: #ffffff;
  box-shadow: 0 6px 12px rgba(20, 38, 54, 0.16);
}

.floating-cart b.empty {
  display: none;
}

.mall-screen .floating-cart {
  right: 18px;
  bottom: 104px;
}

.mall-screen {
  position: relative;
  overflow: hidden;
}

.detail-screen.flagship-detail {
  position: relative;
  overflow: hidden;
}

.detail-screen.flagship-detail .page-scroll {
  height: calc(100% - 58px);
  padding-bottom: 166px;
}

.detail-screen.flagship-detail .buybar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 88px;
  z-index: 34;
  height: 58px;
  margin: 0;
  padding: 9px 10px;
  border: 1px solid rgba(221, 231, 238, 0.96);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 14px 30px rgba(28, 45, 60, 0.13);
  backdrop-filter: blur(16px);
}

.detail-screen.flagship-detail .floating-cart {
  right: 18px;
  top: auto;
  bottom: 158px;
}

.detail-screen.flagship-detail .tabbar {
  bottom: 12px;
}

/* Cross-city shipping ride flow */
.city-shipping-screen {
  position: relative;
  background: linear-gradient(180deg, #edf7fb 0%, #f8fbfc 42%, #ffffff 100%);
  overflow: hidden;
}

.city-shipping-screen .page-scroll {
  height: calc(100% - 58px);
  padding: 12px 18px 174px;
}

.city-route-hero {
  position: relative;
  height: 128px;
  overflow: hidden;
  border-radius: 8px;
  background: #dfeaf0;
  box-shadow: 0 18px 34px rgba(24, 45, 60, 0.12);
}

.city-route-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.03);
}

.city-route-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13, 36, 50, 0.72), rgba(13, 36, 50, 0.2) 58%, rgba(13, 36, 50, 0.06));
}

.route-overlay {
  position: absolute;
  left: 18px;
  right: 24px;
  bottom: 14px;
  z-index: 1;
  color: #ffffff;
}

.route-overlay h3 {
  margin: 0;
  color: #ffffff;
  font-size: 20px;
  line-height: 1.25;
}

.route-overlay p {
  max-width: 245px;
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.82);
  font-size: 12px;
  line-height: 1.7;
}

.ride-panel {
  margin-top: 12px;
  border: 1px solid rgba(223, 232, 238, 0.96);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 12px 26px rgba(24, 45, 60, 0.07);
}

.route-card {
  padding: 4px 14px;
}

.route-line {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  min-height: 56px;
  align-items: center;
}

.route-line + .route-line {
  border-top: 1px solid #edf2f5;
}

.route-line + .route-line::before {
  content: "";
  position: absolute;
  left: 10px;
  top: -22px;
  width: 1px;
  height: 36px;
  background: linear-gradient(#34c98c, #ff6a66);
}

.pin {
  position: relative;
  z-index: 1;
  display: block;
  grid-column: 1;
  width: 12px;
  height: 12px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(24, 45, 60, 0.12);
}

.pin.start {
  background: #28c683;
}

.pin.end {
  background: #ff5a5f;
}

.route-line button,
.time-row,
.vehicle-option {
  width: 100%;
  border: 0;
  background: transparent;
  text-align: left;
}

.route-line button {
  grid-column: 2;
  min-width: 0;
}

.route-line strong,
.time-row strong,
.vehicle-option strong,
.protect-card strong {
  display: block;
  color: #132c3f;
  font-size: 15px;
}

.route-line em,
.vehicle-option em {
  display: block;
  margin-top: 5px;
  color: #8b99a4;
  font-size: 12px;
  font-style: normal;
}

.time-card {
  padding: 2px 14px;
}

.time-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 42px;
  padding: 0;
  color: #7c8b96;
  font-size: 13px;
}

.time-row + .time-row {
  border-top: 1px solid #edf2f5;
}

.time-row strong {
  font-size: 14px;
}

.ride-title {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 12px 14px 8px;
}

.ride-title h3 {
  margin: 0;
  font-size: 16px;
}

.ride-title span {
  color: #8b99a4;
  font-size: 12px;
}

.vehicle-list {
  display: grid;
  gap: 10px;
  padding: 0 12px 12px;
}

.vehicle-option {
  display: grid;
  grid-template-columns: 46px 1fr auto;
  gap: 12px;
  align-items: center;
  min-height: 64px;
  padding: 9px 10px;
  border: 1px solid #edf2f5;
  border-radius: 8px;
  background: #fbfdfe;
}

.vehicle-option.active {
  border-color: rgba(255, 95, 98, 0.38);
  background: linear-gradient(135deg, #fff7f3, #ffffff);
  box-shadow: 0 10px 20px rgba(255, 90, 95, 0.09);
}

.vehicle-option i {
  position: relative;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: linear-gradient(145deg, #25c58a, #10a7c9);
}

.vehicle-option i::before {
  content: "";
  position: absolute;
  left: 9px;
  top: 15px;
  width: 27px;
  height: 14px;
  border-radius: 5px 8px 5px 5px;
  background: #ffffff;
}

.vehicle-option i::after {
  content: "";
  position: absolute;
  left: 12px;
  bottom: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #132c3f;
  box-shadow: 16px 0 0 #132c3f;
}

.vehicle-smart {
  background: linear-gradient(145deg, #39a7ff, #006eea) !important;
}

.vehicle-line {
  background: linear-gradient(145deg, #ffb45d, #ff6b4a) !important;
}

.vehicle-option b {
  color: #ff5a5f;
  font-size: 17px;
}

.protect-card {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 14px;
}

.protect-card span {
  display: block;
  margin-top: 5px;
  color: #82919d;
  font-size: 12px;
  line-height: 1.5;
}

.protect-card b {
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 8px;
  color: #0a7e5a;
  font-size: 11px;
  background: #e8fbf1;
}

.ride-action-bar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 88px;
  z-index: 34;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  padding: 10px 10px 10px 16px;
  border: 1px solid rgba(221, 231, 238, 0.96);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 14px 30px rgba(28, 45, 60, 0.13);
  backdrop-filter: blur(16px);
}

.ride-action-bar span {
  display: block;
  color: #82919d;
  font-size: 12px;
}

.ride-action-bar strong {
  display: block;
  margin-top: 2px;
  color: #ff5a5f;
  font-size: 24px;
}

.ride-action-bar button {
  width: 154px;
  height: 42px;
  border: 0;
  border-radius: 8px;
  color: #ffffff;
  font-size: 15px;
  font-weight: 800;
  background: linear-gradient(135deg, #ff8b5d, #ff5266);
  box-shadow: 0 12px 22px rgba(255, 82, 102, 0.22);
}

/* Air shipping booking flow */
.air-booking-screen {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #edf6ff 0%, #f8fbfc 44%, #ffffff 100%);
}

.air-booking-screen .page-scroll {
  height: calc(100% - 58px);
  padding: 10px 18px 174px;
}

.air-booking-screen .city-route-hero {
  height: 104px;
}

.air-booking-screen .ride-panel {
  margin-top: 10px;
}

.air-booking-screen .route-overlay h3 {
  font-size: 19px;
}

.air-booking-screen .route-overlay p {
  max-width: 260px;
  font-size: 11px;
  line-height: 1.55;
}

.air-route-hero::after {
  background: linear-gradient(90deg, rgba(12, 38, 62, 0.72), rgba(21, 72, 102, 0.28) 62%, rgba(21, 72, 102, 0.08));
}

.flight-card {
  padding: 10px 14px;
  overflow: hidden;
  min-width: 0;
}

.flight-number {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.flight-number span {
  color: #82919d;
  font-size: 12px;
}

.flight-number button,
.flight-lookup-btn {
  height: 40px;
  padding: 0 14px;
  border: 1px solid rgba(47, 140, 255, 0.18);
  border-radius: 10px;
  color: #0b5c96;
  font-size: 13px;
  font-weight: 800;
  background: #eef7ff;
  white-space: nowrap;
}

.flight-lookup-btn:disabled {
  opacity: 0.65;
}

.flight-number-block {
  display: grid;
  gap: 8px;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid #edf2f5;
}

.flight-number-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.flight-number-head span {
  color: #82919d;
  font-size: 12px;
}

.flight-number-head em {
  color: #9aa7b2;
  font-size: 11px;
  font-style: normal;
}

.flight-number-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.ride-input {
  width: 100%;
  border: 0;
  outline: none;
  background: transparent;
  color: #1c2d3c;
  font: inherit;
  -webkit-user-select: text;
  user-select: text;
  pointer-events: auto;
}

.flight-number .ride-input,
.flight-no-input {
  width: 100%;
  min-width: 0;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #d7e4ea;
  border-radius: 10px;
  color: #0b5c96;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.04em;
  background: #fff;
  text-align: left;
  text-transform: uppercase;
}

.flight-no-input:focus {
  border-color: #3b82c4;
  box-shadow: 0 0 0 3px rgba(59, 130, 196, 0.14);
}

.flight-lookup-tip {
  margin: 0;
  color: #9aa7b2;
  font-size: 11px;
  line-height: 1.4;
}

.flight-lookup-tip.ok {
  color: #2f8a4c;
}

.airport-route-edit div {
  display: grid;
  gap: 4px;
}

.airport-route-edit .ride-input {
  font-size: 14px;
  font-weight: 700;
  color: #1c2d3c;
}

.airport-route-edit .ride-input.code {
  width: 64px;
  font-size: 12px;
  font-weight: 600;
  color: #7b8791;
}

.airport-route-edit div:last-child {
  justify-items: end;
}

.flight-meta-edit {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  padding-top: 10px;
  min-width: 0;
}

.flight-meta-edit label,
.time-row-edit,
.route-field,
.pet-fields label {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.flight-meta-edit span,
.time-row-edit span,
.route-field strong,
.pet-fields span {
  color: #82919d;
  font-size: 12px;
}

.flight-meta-edit .ride-input,
.time-row-edit .ride-input,
.route-field .ride-input,
.pet-fields .ride-input {
  min-height: 28px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  font-size: 14px;
  font-weight: 700;
}

.route-field .ride-input.subtle,
.pet-fields .ride-input {
  font-weight: 600;
  color: #5a6b78;
  font-size: 13px;
}

.pet-fields {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.8fr;
  gap: 8px;
  margin-top: 10px;
}

.time-row-edit {
  width: 100%;
  min-width: 0;
  padding: 4px 0;
}

/* 覆盖通用 .time-row 的横向 flex，避免 datetime 撑破 */
.flight-meta-edit .time-row,
.flight-meta-edit .time-row-edit,
.time-card .time-row-edit {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-content: stretch;
  align-items: stretch;
  gap: 6px;
  min-height: 0;
  border-top: 0;
}

.ride-action-bar button:disabled {
  opacity: 0.65;
}

.region-row {
  display: grid;
  gap: 6px;
  margin: 4px 0 8px;
}

.region-label {
  color: #82919d;
  font-size: 12px;
}

.region-selects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ride-select {
  width: 100%;
  height: 36px;
  padding: 0 10px;
  border: 1px solid #e3ebf1;
  border-radius: 10px;
  background: #f7fafc;
  color: #1c2d3c;
  font-size: 13px;
  font-weight: 600;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #7b8791 50%), linear-gradient(135deg, #7b8791 50%, transparent 50%);
  background-position: calc(100% - 14px) calc(50% - 2px), calc(100% - 9px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}

.ride-datetime {
  display: block;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 40px !important;
  height: 40px;
  box-sizing: border-box;
  padding: 0 10px !important;
  border: 1px solid #d7e4ea;
  border-radius: 10px;
  color: #1c2d3c !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 40px;
  background: #fff !important;
  -webkit-appearance: none;
  appearance: none;
}

.ride-datetime:focus {
  border-color: #3b82c4;
  box-shadow: 0 0 0 3px rgba(59, 130, 196, 0.14);
  outline: none;
}

/* 防止 WebKit 日期控件内部把容器撑宽 */
.ride-datetime::-webkit-datetime-edit,
.ride-datetime::-webkit-datetime-edit-fields-wrapper {
  min-width: 0;
  padding: 0;
}

.ride-datetime::-webkit-calendar-picker-indicator {
  margin: 0 0 0 4px;
  opacity: 0.65;
}

@media (min-width: 380px) {
  .flight-meta-edit {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px;
  }
}

.air-city-block {
  padding: 8px 0;
  border-bottom: 1px solid #edf2f5;
}

.airport-inline {
  display: grid;
  grid-template-columns: 1fr 72px;
  gap: 8px;
  margin-top: 6px;
}

.airport-inline .ride-input {
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #e3ebf1;
  border-radius: 10px;
  background: #fff;
  font-size: 13px;
  font-weight: 700;
}

.airport-inline .ride-input.code {
  text-align: center;
  color: #7b8791;
  font-weight: 600;
}

.travel-hint {
  margin: 4px 16px 18px;
  color: #82919d;
  font-size: 12px;
  line-height: 1.45;
}

/* 避免下拉贴底时选完误触 tabbar */
.air-booking-screen .page-scroll,
.city-shipping-screen .page-scroll {
  padding-bottom: 120px;
}

.air-booking-screen .tabbar,
.city-shipping-screen .tabbar {
  touch-action: manipulation;
}

.pet-picker {
  margin-top: 12px;
}

.pet-picker-head {
  align-items: center;
}

.pet-switch-link {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #0b5c96;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.pet-picker-list {
  display: grid;
  gap: 8px;
}

.pet-pick-card {
  display: grid;
  grid-template-columns: 44px 1fr 18px;
  gap: 10px;
  align-items: center;
  width: 100%;
  padding: 10px;
  border: 1px solid #e5edf3;
  border-radius: 12px;
  background: #f8fbfc;
  text-align: left;
}

.pet-pick-card.active {
  border-color: rgba(11, 92, 150, 0.35);
  background: #eef7ff;
}

.pet-pick-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #dce7ef center/cover no-repeat;
}

.pet-pick-info {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.pet-pick-info strong {
  color: #1c2d3c;
  font-size: 14px;
}

.pet-pick-info em {
  color: #82919d;
  font-size: 12px;
  font-style: normal;
}

.pet-pick-check {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid #c5d2dc;
}

.pet-pick-card.active .pet-pick-check {
  border-color: #0b5c96;
  background: radial-gradient(circle at center, #0b5c96 0 45%, transparent 48%);
}

.pet-picker-empty {
  padding: 14px 12px;
  border-radius: 12px;
  background: #fff7f2;
  color: #8a5a3c;
}

.pet-picker-empty p {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.45;
}

.pet-add-btn,
.pet-add-link {
  border: 0;
  background: transparent;
  color: #0b5c96;
  font-size: 13px;
  font-weight: 700;
}

.pet-add-btn {
  height: 36px;
  padding: 0 14px;
  border-radius: 10px;
  background: #0b5c96;
  color: #fff;
}

.pet-add-link {
  margin-top: 8px;
  padding: 0;
}

.pet-list-panel {
  padding: 4px 0 24px;
}

.pet-hero {
  margin: 12px 14px 8px;
  padding: 18px 16px;
  border-radius: 8px;
  color: #194461;
  background: linear-gradient(135deg, #e8f4ff 0%, #fff3ce 52%, #ffffff 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(71, 91, 105, 0.08);
}

.pet-hero h3 {
  margin: 0 0 6px;
  font-size: 20px;
  color: #1c2d3c;
}

.pet-hero p {
  margin: 0;
  color: #5e7280;
  font-size: 12px;
  line-height: 1.6;
}

.pet-hero > button {
  margin-top: 14px;
  height: 38px;
  border: 0;
  border-radius: 19px;
  padding: 0 18px;
  color: #fff;
  background: var(--coral);
  font-size: 13px;
  font-weight: 800;
}

.pet-hero-compact {
  padding-bottom: 16px;
}

.pet-hero-edit-row {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 12px;
  align-items: center;
}

.pet-hero-edit-row .pet-avatar {
  width: 72px;
  height: 72px;
  margin: 0;
}

.pet-hero-edit-row h3 {
  font-size: 18px;
}

.pet-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 4px;
}

.pet-section-head h3 {
  margin: 0;
}

.pet-section-head .pet-add-link {
  margin: 0;
}

.pet-profile-card {
  margin: 10px 14px 0;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--premium-line);
  box-shadow: 0 8px 20px rgba(28, 45, 60, 0.05);
  overflow: hidden;
}

.pet-profile-main {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 14px;
  border: 0;
  background: transparent;
  text-align: left;
}

.pet-profile-main .pet-list-avatar {
  width: 60px;
  height: 60px;
}

.pet-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 4px;
}

.pet-cert-progress {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.pet-cert-progress i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d7e0e7;
}

.pet-cert-progress i.on {
  background: #d59b12;
}

.pet-cert-progress em {
  margin-left: 4px;
  color: #8a7a55;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.pet-profile-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid var(--premium-line);
}

.pet-profile-actions button {
  display: grid;
  gap: 2px;
  padding: 12px 10px;
  border: 0;
  background: #f8fafb;
  text-align: left;
}

.pet-profile-actions button + button {
  border-left: 1px solid var(--premium-line);
}

.pet-profile-actions strong {
  color: #0b5c96;
  font-size: 13px;
}

.pet-profile-actions button:last-child strong {
  color: #4a5b68;
}

.pet-profile-actions span {
  color: #82919d;
  font-size: 11px;
}

.pet-cert-banner {
  display: grid;
  grid-template-columns: 42px 1fr 18px;
  gap: 10px;
  align-items: center;
  width: calc(100% - 28px);
  margin: 4px 14px 10px;
  padding: 12px;
  border: 1px solid rgba(213, 155, 18, 0.22);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff8e8, #ffffff);
  text-align: left;
  box-shadow: 0 8px 20px rgba(28, 45, 60, 0.05);
}

.pet-cert-banner strong {
  display: block;
  color: #1c2d3c;
  font-size: 14px;
}

.pet-cert-banner em {
  display: block;
  margin-top: 3px;
  color: #8a7a55;
  font-size: 11px;
  font-style: normal;
}

.pet-cert-banner b {
  color: #c69a2a;
  font-size: 18px;
}

.pet-bottom-space {
  height: 24px;
}

.pet-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.pet-list-head h3 {
  margin: 0;
  font-size: 16px;
  color: #1c2d3c;
}

.pet-list-head .pet-add-link,
.cert-pet-bar .pet-add-link {
  margin: 0;
  border: 0;
  background: transparent;
  color: #0b5c96;
  font-size: 13px;
  font-weight: 700;
}

.pet-list {
  display: grid;
  gap: 12px;
}

.pet-list-card {
  display: grid;
  gap: 0;
  width: 100%;
  padding: 0;
  border: 0;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(28, 45, 60, 0.06);
  overflow: hidden;
  text-align: left;
}

.pet-list-card.pet-pick-cert {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px;
}

.pet-list-main {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 12px;
  align-items: center;
  width: 100%;
  padding: 14px;
  border: 0;
  background: transparent;
  text-align: left;
}

.pet-list-avatar {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #e8f1f7 center/cover no-repeat;
  color: #7b8791;
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.pet-list-main .pet-list-avatar {
  width: 56px;
  height: 56px;
}

.pet-list-info {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.pet-list-info strong {
  color: #1c2d3c;
  font-size: 15px;
}

.pet-list-info em {
  color: #82919d;
  font-size: 12px;
  font-style: normal;
}

.pet-health-chip {
  display: inline-flex;
  width: fit-content;
  margin-top: 2px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef7f0;
  color: #2f8a4c;
  font-size: 11px;
  font-style: normal;
  font-weight: 600;
}

.pet-list-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid #eef2f5;
}

.pet-action-btn {
  padding: 11px 8px;
  border: 0;
  background: #f8fafb;
  color: #0b5c96;
  font-size: 13px;
  font-weight: 700;
}

.pet-action-btn + .pet-action-btn {
  border-left: 1px solid #eef2f5;
}

.pet-action-edit {
  color: #4a5b68;
}

.pet-action-danger {
  color: #d45454;
}

.pet-list-arrow {
  color: #0b5c96;
  font-size: 12px;
  font-weight: 700;
}

.pet-list-empty {
  padding: 28px 16px;
  border-radius: 14px;
  background: #fff;
  text-align: center;
  box-shadow: 0 8px 20px rgba(28, 45, 60, 0.06);
}

.pet-empty-mark {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #e8f1f7;
  color: #7b8791;
  font-weight: 700;
}

.pet-list-empty h3 {
  margin: 0 0 8px;
  font-size: 17px;
}

.pet-list-empty p {
  margin: 0 0 16px;
  color: #82919d;
  font-size: 13px;
}

.pet-cert-entry {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin: 0 0 12px;
  padding: 14px 16px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #fff8e8, #fff);
  box-shadow: 0 8px 20px rgba(28, 45, 60, 0.06);
  text-align: left;
}

.pet-cert-entry strong {
  display: block;
  color: #1c2d3c;
  font-size: 15px;
}

.pet-cert-entry em {
  display: block;
  margin-top: 3px;
  color: #8a7a55;
  font-size: 12px;
  font-style: normal;
}

.pet-cert-entry b {
  color: #c69a2a;
  font-size: 18px;
}

.cert-scroll {
  padding-bottom: 28px;
}

.cert-hero {
  margin: 12px 14px 8px;
  padding: 18px 16px;
  border-radius: 8px;
  color: #194461;
  background: linear-gradient(135deg, #fff3ce 0%, #e8f4ff 55%, #ffffff 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(71, 91, 105, 0.08);
}

.cert-hero-badge {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 3px 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  color: #b8860b;
  font-size: 11px;
  font-weight: 800;
}

.cert-hero h3 {
  margin: 0 0 6px;
  font-size: 20px;
  color: #1c2d3c;
}

.cert-hero p {
  margin: 0;
  color: #5e7280;
  font-size: 12px;
  line-height: 1.6;
}

.cert-hero > button {
  margin-top: 14px;
  height: 38px;
  border: 0;
  border-radius: 19px;
  padding: 0 18px;
  color: #fff;
  background: var(--coral);
  font-size: 13px;
  font-weight: 800;
}

.cert-hero-pet-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 12px;
  align-items: center;
}

.cert-hero-pet-row h3 {
  margin-bottom: 4px;
  font-size: 18px;
}

.cert-switch-btn {
  height: 32px;
  padding: 0 12px;
  border: 1px solid rgba(28, 45, 60, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.85);
  color: #0b5c96;
  font-size: 12px;
  font-weight: 700;
}

button.certificate-card {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: inherit;
  width: calc(100% - 28px);
  margin-left: 14px;
  margin-right: 14px;
  text-align: left;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.cert-type-ico.has-thumb {
  background-size: cover;
  background-position: center;
}

.cert-type-ico.has-thumb::before,
.cert-type-ico.has-thumb::after {
  display: none;
}

.certificate-card:active {
  transform: translateY(1px);
  box-shadow: 0 8px 18px rgba(28, 45, 60, 0.06);
}

.certificate-card.is-ready {
  border-color: rgba(47, 138, 76, 0.18);
  background: linear-gradient(180deg, #ffffff 0%, #f7fcf8 100%);
}

.certificate-card span em {
  font-style: normal;
  font-weight: 700;
}

.certificate-card span em.ok {
  color: #2f8a4c;
}

.certificate-card span em.pending {
  color: #d59b12;
}

.certificate-card.cert-pet-pick {
  border: 0;
  background: white;
}

.cert-pet-avatar,
.cert-type-ico {
  position: relative;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff3d3, #ecf6ff) center/cover no-repeat;
  color: #8a7a55;
  font-size: 13px;
  font-weight: 800;
  overflow: hidden;
  flex-shrink: 0;
}

.cert-type-ico::before,
.cert-type-ico::after {
  content: "";
  position: absolute;
  display: block;
}

.cert-ico-vaccine {
  background: linear-gradient(135deg, #ffe3d4, #fff1e8);
}

.cert-ico-vaccine::before {
  width: 8px;
  height: 22px;
  left: 19px;
  top: 11px;
  border-radius: 4px;
  background: #ff7b4f;
}

.cert-ico-vaccine::after {
  width: 16px;
  height: 4px;
  left: 15px;
  top: 20px;
  border-radius: 2px;
  background: #ff9a74;
}

.cert-ico-quarantine {
  background: linear-gradient(135deg, #e4f0ff, #f3f8ff);
}

.cert-ico-quarantine::before {
  width: 18px;
  height: 22px;
  left: 14px;
  top: 12px;
  border: 2px solid #3b82c4;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.7);
}

.cert-ico-quarantine::after {
  width: 8px;
  height: 8px;
  left: 19px;
  top: 18px;
  border: 2px solid #3b82c4;
  border-radius: 50%;
}

.cert-ico-chip {
  background: linear-gradient(135deg, #e8f9ef, #f4fff8);
}

.cert-ico-chip::before {
  width: 18px;
  height: 14px;
  left: 14px;
  top: 16px;
  border: 2px solid #36b96a;
  border-radius: 3px;
}

.cert-ico-chip::after {
  width: 6px;
  height: 6px;
  left: 20px;
  top: 20px;
  border-radius: 50%;
  background: #36b96a;
  box-shadow: 8px 0 0 #36b96a;
}

.cert-ico-checkup {
  background: linear-gradient(135deg, #efe8ff, #f8f4ff);
}

.cert-ico-checkup::before {
  width: 16px;
  height: 20px;
  left: 15px;
  top: 13px;
  border: 2px solid #7a6ad8;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.65);
}

.cert-ico-checkup::after {
  width: 8px;
  height: 2px;
  left: 19px;
  top: 20px;
  background: #7a6ad8;
  box-shadow: 0 4px 0 #7a6ad8;
}

.cert-ico-other {
  background: linear-gradient(135deg, #fff2cc, #fff8e4);
}

.cert-ico-other::before {
  width: 16px;
  height: 20px;
  left: 15px;
  top: 13px;
  border: 2px solid #d59b12;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.45);
}

.cert-ico-other::after {
  width: 9px;
  height: 2px;
  left: 19px;
  top: 21px;
  background: #d59b12;
  box-shadow: 0 5px 0 #d59b12;
}

.cert-extra-head {
  margin-top: 8px;
}

button.upload-card {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  width: calc(100% - 28px);
  margin: 16px 14px 8px;
  border: 1px dashed #c2ccd4;
  color: #5f6972;
  background: linear-gradient(180deg, #ffffff, #f8fafb);
  transition: background 160ms ease, border-color 160ms ease;
}

button.upload-card:active {
  border-color: #0b5c96;
  color: #0b5c96;
  background: #f3f8fb;
}

.cert-form-card h3 {
  margin: 0 0 12px;
  font-size: 15px;
}

.cert-image-picker {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 180px;
  border: 1px dashed #b7c7d4;
  border-radius: 8px;
  background: #f5f8fa center/cover no-repeat;
  color: #6f7f8c;
  overflow: hidden;
}

.cert-image-picker.has-image {
  border-style: solid;
  border-color: var(--premium-line);
}

.cert-image-placeholder {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 16px;
}

.cert-image-placeholder .cert-type-ico {
  width: 52px;
  height: 52px;
}

.cert-image-placeholder b {
  font-size: 13px;
  font-weight: 800;
  color: #4a5b68;
}

.cert-image-placeholder em {
  font-size: 11px;
  font-style: normal;
  color: #8a96a0;
}

.cert-image-change {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 10px;
  border-radius: 14px;
  background: rgba(28, 45, 60, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.pet-back-list,
.pet-delete-btn {
  display: block;
  width: 100%;
  margin: 10px 0 0;
  border: 0;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
}

.pet-back-list {
  color: #0b5c96;
  padding-bottom: 24px;
}

.pet-delete-btn {
  color: #d45454;
}

.airport-route {
  display: grid;
  grid-template-columns: 1fr 52px 1fr;
  align-items: center;
  gap: 10px;
  padding: 0 0 8px;
  border-bottom: 1px solid #edf2f5;
}

.airport-route div:last-child {
  text-align: right;
}

.airport-route strong {
  display: block;
  color: #132c3f;
  font-size: 15px;
}

.airport-route em {
  display: block;
  margin-top: 4px;
  color: #8b99a4;
  font-size: 12px;
  font-style: normal;
}

.airport-route i {
  position: relative;
  display: block;
  height: 1px;
  background: linear-gradient(90deg, #8fcfff, #ff8b5d);
}

.airport-route i::before {
  content: "";
  position: absolute;
  left: 17px;
  top: -11px;
  width: 18px;
  height: 18px;
  border-radius: 8px;
  background: linear-gradient(145deg, #39a7ff, #006eea);
  box-shadow: 0 8px 16px rgba(47, 140, 255, 0.18);
}

.airport-route i::after {
  content: "";
  position: absolute;
  left: 23px;
  top: -5px;
  width: 7px;
  height: 7px;
  border: solid #ffffff;
  border-width: 2px 2px 0 0;
  transform: rotate(45deg);
}

.flight-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  padding-top: 8px;
}

.flight-meta button {
  min-height: 36px;
  border: 0;
  background: transparent;
  text-align: left;
}

.flight-meta button:last-child {
  text-align: right;
}

.flight-meta span {
  display: block;
  color: #82919d;
  font-size: 12px;
}

.flight-meta strong {
  display: block;
  margin-top: 5px;
  color: #132c3f;
  font-size: 14px;
}

.air-service-list .vehicle-option i {
  background: linear-gradient(145deg, #39a7ff, #006eea);
}

.air-service-list .vehicle-option {
  min-height: 56px;
}

.air-service-list .vehicle-option i {
  width: 40px;
  height: 40px;
}

.air-service-door {
  background: linear-gradient(145deg, #ffb45d, #ff6b4a) !important;
}

.air-box-panel {
  padding-bottom: 12px;
}

.box-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 0 12px;
}

.box-option {
  min-width: 0;
  padding: 8px;
  border: 1px solid #edf2f5;
  border-radius: 8px;
  background: #fbfdfe;
  text-align: left;
}

.box-option.active {
  border-color: rgba(47, 140, 255, 0.32);
  background: linear-gradient(135deg, #eef7ff, #ffffff);
}

.box-option img {
  width: 100%;
  height: 76px;
  border-radius: 8px;
  object-fit: cover;
}

.box-option strong,
.box-option span,
.box-option b {
  display: block;
}

.box-option strong {
  margin-top: 8px;
  color: #132c3f;
  font-size: 13px;
}

.box-option span {
  margin-top: 4px;
  color: #82919d;
  font-size: 11px;
  line-height: 1.35;
}

.box-option b {
  margin-top: 7px;
  color: #ff5a5f;
  font-size: 15px;
}

.box-mode-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 10px;
}

.box-mode-row.single {
  grid-template-columns: 1fr;
}

.box-mode-chip {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-height: 36px;
  padding: 6px 10px;
  border: 1.5px solid #cfdce6;
  border-radius: 10px;
  background: #fff;
  color: #5a6a76;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 1px 0 rgba(28, 45, 60, 0.04);
}

.box-mode-chip em {
  font-style: normal;
  font-weight: 800;
}

.box-mode-chip b {
  display: inline !important;
  margin: 0 !important;
  color: inherit;
  font-size: 13px;
  font-weight: 850;
  font-variant-numeric: tabular-nums;
}

.box-mode-chip.mode-rent {
  border-color: rgba(15, 118, 110, 0.28);
  background: #f3fbf8;
  color: #0f766e;
}

.box-mode-chip.mode-buy {
  border-color: rgba(180, 83, 9, 0.28);
  background: #fff8f1;
  color: #b45309;
}

.box-mode-chip.active {
  color: #fff;
  box-shadow: 0 8px 16px rgba(28, 45, 60, 0.12);
}

.box-mode-chip.mode-rent.active {
  border-color: #0f766e;
  background: linear-gradient(135deg, #0f766e, #14b8a6);
}

.box-mode-chip.mode-buy.active {
  border-color: #c2410c;
  background: linear-gradient(135deg, #c2410c, #f59e0b);
}

.box-mode-chip.soft {
  cursor: default;
  opacity: 0.95;
}

.booking-polish .box-options {
  grid-template-columns: 1fr;
}

.booking-polish .box-option {
  display: grid;
  grid-template-columns: 88px 1fr 64px;
  gap: 12px;
  align-items: center;
  cursor: pointer;
  /* 选中态用阴影/边框色，不改变尺寸，避免跳动 */
  box-shadow: 0 0 0 transparent;
  transition: border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.booking-polish .box-option img {
  width: 88px;
  height: 72px;
}

.booking-polish .box-option > b {
  min-width: 56px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.booking-polish .box-option-side {
  min-width: 56px;
}

.booking-polish .box-mode-row {
  min-height: 36px;
  align-items: stretch;
}

.booking-polish .box-mode-chip {
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease, box-shadow 0.15s ease, transform 0.12s ease;
}

.booking-polish .box-mode-chip:active {
  transform: scale(0.98);
}

.air-action-bar button {
  background: linear-gradient(135deg, #2f8cff, #00a8c8);
  box-shadow: 0 12px 22px rgba(47, 140, 255, 0.22);
}

.air-action-bar.has-fee-detail {
  height: auto;
  min-height: 72px;
  align-items: center;
  padding: 10px 10px 10px 14px;
  gap: 10px;
}

.air-action-bar .fee-summary {
  flex: 1;
  min-width: 0;
}

.air-action-bar .fee-summary-title {
  display: block;
  color: #82919d;
  font-size: 11px;
  line-height: 1.2;
}

.air-action-bar .fee-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 2px 10px;
  margin-top: 3px;
}

.air-action-bar .fee-detail em {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  margin: 0;
  font-style: normal;
  color: #5a6a76;
  font-size: 11px;
  line-height: 1.3;
}

.air-action-bar .fee-detail i {
  font-style: normal;
  color: #82919d;
}

.air-action-bar .fee-detail b {
  font-weight: 700;
  color: #334555;
  font-variant-numeric: tabular-nums;
}

.air-action-bar .fee-summary > strong,
.air-action-bar [data-travel-amount="air"] {
  margin-top: 2px;
  color: #ff5a5f;
  font-size: 20px;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.air-booking-screen .page-scroll {
  padding-bottom: 188px;
}

.travel-checkout-sheet {
  position: absolute;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: end center;
  background: rgba(18, 24, 30, 0.48);
}

.travel-checkout-panel {
  width: min(100%, 420px);
  max-height: min(86vh, 720px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  border-radius: 18px 18px 0 0;
  background: #fff;
  box-shadow: 0 -12px 40px rgba(28, 45, 60, 0.18);
}

.travel-checkout-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 16px 8px;
}

.travel-checkout-head strong {
  color: #1c2d3c;
  font-size: 17px;
}

.travel-checkout-x {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #eef2f5;
  color: #5a6a76;
  font-size: 20px;
  line-height: 1;
}

.travel-checkout-scroll {
  overflow: auto;
  padding: 0 16px 12px;
  -webkit-overflow-scrolling: touch;
}

.checkout-summary {
  padding: 12px;
  border-radius: 14px;
  background: #f5f8fb;
}

.checkout-summary-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.checkout-summary-row:first-child {
  margin-top: 0;
}

.checkout-summary-row span {
  flex-shrink: 0;
  color: #82919d;
  font-size: 12px;
}

.checkout-summary-row b {
  color: #1c2d3c;
  font-size: 13px;
  text-align: right;
  font-weight: 700;
}

.checkout-route {
  max-width: 220px;
  line-height: 1.4;
  word-break: break-word;
}

.checkout-block {
  margin-top: 14px;
}

.checkout-block h4 {
  margin: 0 0 8px;
  color: #1c2d3c;
  font-size: 14px;
}

.checkout-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-top: 8px;
  padding: 12px;
  border: 1px solid #e7eef3;
  border-radius: 12px;
  background: #fff;
  text-align: left;
}

.checkout-option + .checkout-option {
  margin-top: 8px;
}

.checkout-option strong {
  display: block;
  color: #1c2d3c;
  font-size: 13px;
}

.checkout-option em {
  display: block;
  margin-top: 3px;
  color: #82919d;
  font-size: 11px;
  font-style: normal;
}

.checkout-option b,
.checkout-option i {
  flex-shrink: 0;
  color: #0b5c96;
  font-size: 12px;
  font-weight: 800;
  font-style: normal;
}

.checkout-option i {
  width: 18px;
  height: 18px;
  border: 2px solid #c9d5de;
  border-radius: 50%;
}

.checkout-option.active {
  border-color: rgba(11, 92, 150, 0.35);
  background: linear-gradient(135deg, #eef7ff, #ffffff);
  box-shadow: 0 8px 18px rgba(11, 92, 150, 0.08);
}

.checkout-option.active i {
  border-color: #0b5c96;
  background: radial-gradient(circle at center, #0b5c96 0 5px, transparent 6px);
}

.checkout-option.locked {
  opacity: 0.78;
  background: #f7f9fb;
}

.checkout-tip {
  margin: 8px 2px 0;
  color: #d45454;
  font-size: 11px;
}

.checkout-price {
  margin-top: 14px;
  padding: 12px;
  border-radius: 14px;
  background: #fafbfd;
  border: 1px solid #eef2f5;
}

.checkout-price > div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 8px;
  color: #5a6a76;
  font-size: 13px;
}

.checkout-price > div:first-child {
  margin-top: 0;
}

.checkout-price b.minus {
  color: #1f8a4c;
}

.checkout-price .total {
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px dashed #e3ebf1;
  align-items: baseline;
}

.checkout-price .total span {
  color: #1c2d3c;
  font-weight: 700;
}

.checkout-price .total strong {
  color: #ff5a5f;
  font-size: 22px;
}

.travel-checkout-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid #eef2f5;
  background: #fff;
}

.travel-checkout-foot em {
  display: block;
  color: #82919d;
  font-size: 11px;
  font-style: normal;
}

.travel-checkout-foot strong {
  color: #ff5a5f;
  font-size: 22px;
}

.travel-checkout-foot button {
  min-width: 140px;
  height: 44px;
  padding: 0 18px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  background: linear-gradient(135deg, #2f8cff, #00a8c8);
  box-shadow: 0 12px 22px rgba(47, 140, 255, 0.22);
}

.travel-checkout-foot button:disabled {
  opacity: 0.65;
}

.travel-checkout-sheet.is-city .travel-checkout-foot button {
  background: linear-gradient(135deg, #ff8b5d, #ff5266);
  box-shadow: 0 12px 22px rgba(255, 82, 102, 0.22);
}

/* Booking polish: air + city */
.booking-polish {
  background:
    radial-gradient(circle at 10% 0%, rgba(11, 92, 150, 0.08), transparent 40%),
    linear-gradient(180deg, #edf6ff 0%, #f4f8fb 42%, #eef3f7 100%);
}

.booking-polish .page-scroll {
  padding: 12px 14px 188px;
  overflow-anchor: none;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.air-booking-screen,
.city-shipping-screen,
.air-booking-screen .page-scroll,
.city-shipping-screen .page-scroll {
  overflow-anchor: none;
}

.air-booking-screen input,
.air-booking-screen textarea,
.air-booking-screen select,
.city-shipping-screen input,
.city-shipping-screen textarea,
.city-shipping-screen select {
  scroll-margin: 0;
}

.booking-polish .city-route-hero {
  height: 142px;
  border-radius: 16px;
  box-shadow: 0 16px 32px rgba(24, 45, 60, 0.14);
}

.booking-polish .route-overlay {
  left: 16px;
  right: 16px;
  bottom: 16px;
}

.booking-polish .route-overlay h3 {
  margin-top: 6px;
  font-size: 21px;
  letter-spacing: 0.01em;
}

.booking-polish .route-overlay p {
  max-width: 270px;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.5;
}

.hero-chip {
  display: inline-flex;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.booking-polish .ride-panel {
  margin-top: 12px;
  border-radius: 16px;
  border-color: rgba(223, 232, 238, 0.9);
  box-shadow: 0 12px 28px rgba(24, 45, 60, 0.07);
  overflow: hidden;
}

.booking-section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.booking-section-head.in-card {
  padding: 12px 0 4px;
  margin-bottom: 2px;
}

.booking-section-head h3 {
  margin: 0;
  color: #1c2d3c;
  font-size: 15px;
}

.booking-section-head span {
  color: #8b99a4;
  font-size: 11px;
}

.booking-panel-pad {
  padding: 12px 14px 14px;
}

.booking-polish .flight-card {
  padding: 14px;
}

.booking-polish .flight-number-block {
  margin-bottom: 12px;
  padding: 12px;
  border: 1px solid #e7eef3;
  border-bottom: 1px solid #e7eef3;
  border-radius: 12px;
  background: linear-gradient(180deg, #f7fbff, #ffffff);
}

.booking-polish .flight-no-input {
  height: 44px;
  border-radius: 12px;
  font-size: 17px;
}

.booking-polish .flight-lookup-btn {
  height: 44px;
  border-radius: 12px;
}

/* —— 航空托运精致版：日期 + 航班号 —— */
.air-refined .air-route-hero {
  height: 148px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(18, 48, 78, 0.16);
}

.air-refined .route-overlay h3 {
  font-size: 22px;
  letter-spacing: 0.01em;
}

.air-refined .route-overlay p {
  max-width: 280px;
  opacity: 0.92;
}

.air-refined .flight-card {
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(210, 224, 234, 0.9);
  background:
    radial-gradient(circle at 100% 0%, rgba(47, 140, 255, 0.06), transparent 42%),
    #fff;
}

.flight-lookup-card {
  display: grid;
  gap: 10px;
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #e2edf5;
  background: linear-gradient(180deg, #f5faff 0%, #ffffff 72%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.flight-lookup-grid {
  display: grid;
  grid-template-columns: 1.05fr 1.2fr;
  gap: 10px;
}

.flight-field {
  display: grid;
  gap: 6px;
  margin: 0;
  min-width: 0;
}

.flight-field > span {
  color: #6b7b88;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.flight-date-input,
.air-refined .flight-no-input {
  width: 100%;
  height: 44px;
  box-sizing: border-box;
  padding: 0 12px;
  border: 1px solid #d5e3ec;
  border-radius: 12px;
  background: #fff;
  color: #163247;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  outline: none;
}

.air-refined .flight-no-input {
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0b5c96;
}

.flight-date-input:focus,
.air-refined .flight-no-input:focus {
  border-color: #3b82c4;
  box-shadow: 0 0 0 3px rgba(59, 130, 196, 0.14);
}

.air-refined .flight-lookup-btn {
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 12px;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, #2f8cff, #0aa7c2);
  box-shadow: 0 10px 20px rgba(47, 140, 255, 0.22);
}

.air-refined .flight-lookup-btn:disabled {
  opacity: 0.7;
}

.air-refined .flight-lookup-tip {
  margin: 0;
  padding: 0 2px;
  color: #8a98a4;
  font-size: 11px;
  line-height: 1.45;
}

.air-refined .flight-lookup-tip.ok {
  color: #1f8a4c;
}

.flight-leg-board {
  display: grid;
  gap: 0;
  margin-top: 2px;
  padding: 4px 12px 8px;
  border-radius: 14px;
  border: 1px dashed #d7e4ec;
  background: #f7fafc;
}

.flight-leg-board.filled {
  border-style: solid;
  border-color: rgba(47, 140, 255, 0.2);
  background: linear-gradient(180deg, #f5faff, #ffffff);
}

.flight-leg-row {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 54px;
  padding: 10px 0;
}

.flight-leg-row + .flight-leg-divider + .flight-leg-row {
  border-top: 0;
}

.flight-leg-row > em {
  width: 36px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.flight-leg-row.depart > em {
  color: #0f766e;
  background: #e7f8f3;
}

.flight-leg-row.arrive > em {
  color: #b45309;
  background: #fff4e7;
}

.flight-leg-main {
  min-width: 0;
}

.flight-leg-main strong {
  display: block;
  color: #14324a;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flight-leg-main span {
  display: block;
  margin-top: 3px;
  color: #7d8d99;
  font-size: 11px;
  line-height: 1.35;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.flight-leg-row > b {
  color: #0b5c96;
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  text-align: right;
}

.flight-leg-row.is-empty > b,
.flight-leg-row.is-empty .flight-leg-main strong,
.flight-leg-row.is-empty .flight-leg-main span {
  color: #a0adb7;
  font-weight: 600;
}

.flight-leg-divider {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px;
  align-items: center;
  padding: 0 0 0 46px;
}

.flight-leg-divider em {
  color: #0b5c96;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.flight-leg-divider i {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, #34c98c, #2f8cff, #ff6a66);
}

.flight-leg-empty-tip {
  margin: 2px 0 6px;
  color: #9aa7b2;
  font-size: 11px;
  line-height: 1.4;
  text-align: center;
}

/* 接宠地址卡片 */
.pickup-section .booking-section-head {
  margin-bottom: 12px;
}

.pickup-address-card {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid #e2edf5;
  background:
    radial-gradient(circle at 0% 0%, rgba(15, 118, 110, 0.06), transparent 42%),
    linear-gradient(180deg, #f7fbfa 0%, #ffffff 70%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.pickup-address-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.pickup-address-head strong {
  display: block;
  color: #14324a;
  font-size: 15px;
  font-weight: 800;
}

.pickup-address-head span {
  display: block;
  margin-top: 3px;
  color: #8a98a4;
  font-size: 11px;
}

.pickup-sync-btn {
  flex: 0 0 auto;
  height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 999px;
  background: #eefaf6;
  color: #0f766e;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.pickup-region-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pickup-field {
  display: grid;
  gap: 6px;
  margin: 0;
  min-width: 0;
}

.pickup-field > span {
  color: #6b7b88;
  font-size: 11px;
  font-weight: 700;
}

.pickup-address-card .ride-select {
  height: 42px;
  border-radius: 12px;
  border-color: #d5e3ec;
  background-color: #fff;
  font-size: 14px;
  font-weight: 700;
  color: #163247;
}

.pickup-detail-input {
  width: 100%;
  height: 44px;
  box-sizing: border-box;
  padding: 0 12px;
  border: 1px solid #d5e3ec;
  border-radius: 12px;
  background: #fff;
  color: #163247;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  outline: none;
}

.pickup-detail-input:focus,
.pickup-address-card .ride-select:focus {
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.12);
}

.pickup-preview {
  display: grid;
  gap: 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(15, 118, 110, 0.06);
}

.pickup-preview em {
  color: #0f766e;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.pickup-preview p {
  margin: 0;
  color: #2a4052;
  font-size: 13px;
  font-weight: 650;
  line-height: 1.45;
  word-break: break-all;
}

.pickup-section .pet-picker {
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px solid #edf2f5;
}

@media (max-width: 360px) {
  .pickup-region-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 360px) {
  .flight-lookup-grid {
    grid-template-columns: 1fr;
  }
}

.air-leg {
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  padding: 10px 0;
}

.air-leg + .air-leg {
  border-top: 1px solid #edf2f5;
}

.air-leg + .air-leg::before {
  content: "";
  position: absolute;
  left: 5px;
  top: -14px;
  width: 2px;
  height: 28px;
  border-radius: 2px;
  background: linear-gradient(#34c98c, #ff6a66);
}

.air-leg .pin {
  width: 12px;
  height: 12px;
  margin-top: 18px;
}

.booking-polish .air-city-block {
  margin: 0;
  min-width: 0;
}

.booking-polish .airport-inline {
  margin-top: 6px;
}

.booking-polish .airport-inline .ride-input {
  height: 36px;
  padding: 0 10px;
  border: 1px solid #e3ebf1;
  border-radius: 10px;
  background: #f7fafc;
  font-size: 13px;
  font-weight: 600;
}

.booking-polish .airport-inline .ride-input.code {
  text-align: center;
  font-weight: 800;
  color: #0b5c96;
  letter-spacing: 0.06em;
}

.booking-polish .flight-meta-edit {
  margin-top: 4px;
  padding: 12px;
  border-radius: 12px;
  background: #f7fafc;
}

.booking-polish .route-card {
  padding: 4px 14px 10px;
}

.booking-polish .route-line {
  min-height: 72px;
  padding: 8px 0;
  align-items: start;
}

.booking-polish .route-line .pin {
  margin-top: 18px;
}

.booking-polish .vehicle-option {
  border-radius: 12px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, transform 0.15s ease;
}

.booking-polish .vehicle-option:active {
  transform: scale(0.99);
}

.booking-polish .vehicle-option.active {
  border-color: rgba(11, 92, 150, 0.28);
  background: linear-gradient(135deg, #eef7ff, #ffffff);
  box-shadow: 0 10px 20px rgba(11, 92, 150, 0.08);
}

.city-shipping-screen.booking-polish .vehicle-option.active {
  border-color: rgba(255, 95, 98, 0.35);
  background: linear-gradient(135deg, #fff7f3, #ffffff);
  box-shadow: 0 10px 20px rgba(255, 90, 95, 0.09);
}

.booking-polish .box-option {
  border-radius: 12px;
  overflow: hidden;
}

.booking-polish .box-option img {
  height: 84px;
  border-radius: 10px;
}

.booking-polish .box-option.active {
  box-shadow: 0 10px 20px rgba(47, 140, 255, 0.1);
}

.booking-polish .box-option:not(.active) {
  box-shadow: none;
}

.booking-polish .protect-card {
  padding: 14px 16px;
  background: linear-gradient(135deg, #f3faf6, #ffffff);
}

.booking-polish .protect-card b {
  flex-shrink: 0;
  padding: 6px 10px;
  border-radius: 999px;
  background: #e8fbf1;
  color: #1f8a4c;
  font-size: 12px;
}

.booking-polish .remark-panel {
  padding: 10px 14px 12px;
}

.booking-hint {
  margin: 10px 4px 0;
}

.booking-hint.in-panel {
  margin: 2px 0 6px;
  padding-left: 32px;
}

/* 覆盖 .page-fill > * { position:relative }，否则结算栏会掉出 overflow 区域点不到 */
.air-booking-screen > .ride-action-bar,
.city-shipping-screen > .ride-action-bar,
.booking-polish > .ride-action-bar {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: calc(72px + env(safe-area-inset-bottom, 0px));
  z-index: 40;
  border-radius: 16px;
  box-shadow: 0 14px 30px rgba(28, 45, 60, 0.16);
  pointer-events: auto;
}

/* 有费用明细时更高，略上移避免贴底 tab */
.air-booking-screen > .ride-action-bar.has-fee-detail {
  bottom: calc(84px + env(safe-area-inset-bottom, 0px));
}

.air-booking-screen > .tabbar,
.city-shipping-screen > .tabbar,
.booking-polish > .tabbar {
  position: absolute;
  z-index: 30;
  pointer-events: auto;
}

.air-booking-screen > .ride-action-bar button,
.city-shipping-screen > .ride-action-bar button {
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

.booking-polish .pet-pick-card {
  border-radius: 12px;
}

.booking-polish .ride-select {
  border-radius: 10px;
}

.travel-orders-screen .page-scroll {
  padding-bottom: 28px;
}

.travel-order-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 4px 14px 12px;
}

.travel-order-tabs button {
  height: 34px;
  border: 1px solid #e3ebf1;
  border-radius: 8px;
  background: #fff;
  color: #5a6b78;
  font-size: 13px;
  font-weight: 700;
}

.travel-order-tabs button.active {
  border-color: rgba(47, 140, 255, 0.35);
  background: #eef7ff;
  color: #0b5c96;
}

.travel-order-list {
  display: grid;
  gap: 10px;
  padding: 0 14px;
}

.travel-order-card {
  border: 1px solid var(--premium-line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(28, 45, 60, 0.05);
  overflow: hidden;
}

.travel-order-top,
.travel-order-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
}

.travel-order-top {
  border-bottom: 1px solid #edf2f5;
}

.travel-order-top strong {
  display: block;
  color: #1c2d3c;
  font-size: 15px;
}

.travel-order-top em {
  display: block;
  margin-top: 3px;
  color: #8a96a0;
  font-size: 11px;
  font-style: normal;
}

.travel-order-status {
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  background: #fff3d6;
  color: #b8860b;
}

.travel-order-status.confirmed {
  background: #e7f2ff;
  color: #0b5c96;
}

.travel-order-status.progress {
  background: #e8f9ef;
  color: #2f8a4c;
}

.travel-order-status.done {
  background: #eef2f5;
  color: #5a6b78;
}

.travel-order-status.cancel,
.travel-order-status.reject {
  background: #fdecec;
  color: #d45454;
}

.travel-timeline-item.is-reject.current i {
  background: #d45454;
  box-shadow: 0 0 0 4px rgba(212, 84, 84, 0.16);
}

.travel-admin-note {
  margin-top: 12px;
  padding: 12px;
  border-radius: 12px;
  background: #f0f7fc;
  border: 1px solid #d9e8f3;
}

.travel-admin-note.reject {
  background: #fff5f5;
  border-color: #f3d0d0;
}

.travel-admin-note em {
  display: block;
  color: #0b5c96;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
}

.travel-admin-note.reject em {
  color: #d45454;
}

.travel-admin-note p {
  margin: 6px 0 0;
  color: #1c2d3c;
  font-size: 13px;
  line-height: 1.55;
  white-space: pre-wrap;
}

.travel-order-body {
  display: grid;
  gap: 6px;
  padding: 12px 14px;
}

.travel-order-body p {
  margin: 0;
  color: #4a5b68;
  font-size: 12px;
  line-height: 1.45;
}

.travel-order-body b {
  display: inline-block;
  min-width: 36px;
  margin-right: 6px;
  color: #8a96a0;
  font-weight: 600;
}

.travel-order-foot {
  border-top: 1px solid #edf2f5;
  background: #f8fafb;
}

.travel-order-foot span {
  color: #8a96a0;
  font-size: 11px;
}

.travel-order-foot strong {
  color: #ff5a5f;
  font-size: 18px;
}

button.travel-order-card {
  appearance: none;
  -webkit-appearance: none;
  font: inherit;
  color: inherit;
  width: 100%;
  text-align: left;
  cursor: pointer;
}

.travel-order-foot-right {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.travel-order-foot-right i {
  color: #0b5c96;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.travel-detail-hero {
  margin: 12px 14px 10px;
  padding: 16px;
  border-radius: 8px;
  background: linear-gradient(135deg, #e8f4ff 0%, #fff3ce 55%, #ffffff 100%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  box-shadow: 0 16px 34px rgba(71, 91, 105, 0.08);
}

.travel-detail-hero-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.travel-detail-hero h3 {
  margin: 0 0 4px;
  font-size: 18px;
  color: #1c2d3c;
  word-break: break-all;
}

.travel-detail-hero p {
  margin: 0;
  color: #5e7280;
  font-size: 12px;
}

.travel-detail-amount {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(28, 45, 60, 0.08);
}

.travel-detail-amount span {
  color: #82919d;
  font-size: 12px;
}

.travel-detail-amount strong {
  color: #ff5a5f;
  font-size: 24px;
}

.travel-detail-card {
  margin: 0 14px 10px;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--premium-line);
  box-shadow: 0 8px 20px rgba(28, 45, 60, 0.05);
}

.travel-detail-card h3 {
  margin: 0 0 12px;
  font-size: 15px;
  color: #1c2d3c;
}

.travel-detail-row {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 8px;
  padding: 8px 0;
  border-top: 1px solid #f0f4f7;
}

.travel-detail-row:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.travel-detail-row span {
  color: #8a96a0;
  font-size: 12px;
}

.travel-detail-row b {
  color: #1c2d3c;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.45;
  word-break: break-word;
}

.travel-timeline {
  display: grid;
  gap: 0;
}

.travel-timeline-item {
  position: relative;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  padding: 0 0 16px;
}

.travel-timeline-item:last-child {
  padding-bottom: 0;
}

.travel-timeline-item i {
  position: relative;
  z-index: 1;
  width: 12px;
  height: 12px;
  margin-top: 4px;
  border-radius: 50%;
  background: #d7e0e7;
  box-shadow: 0 0 0 3px #f4f8fb;
}

.travel-timeline-item::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 18px;
  bottom: 0;
  width: 2px;
  background: #e6eef3;
}

.travel-timeline-item:last-child::before {
  display: none;
}

.travel-timeline-item.done i,
.travel-timeline-item.current i {
  background: #2f8cff;
}

.travel-timeline-item.current i {
  box-shadow: 0 0 0 3px rgba(47, 140, 255, 0.18);
}

.travel-timeline-item.done::before {
  background: rgba(47, 140, 255, 0.35);
}

.travel-timeline-item strong {
  display: block;
  color: #1c2d3c;
  font-size: 13px;
}

.travel-timeline-item.todo strong {
  color: #8a96a0;
}

.travel-timeline-item span {
  display: block;
  margin-top: 3px;
  color: #8a96a0;
  font-size: 11px;
  line-height: 1.4;
}

.travel-order-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 16px 14px 8px;
}

.travel-order-actions .pet-add-btn {
  width: 100%;
}

.pet-add-btn-ghost {
  background: #fff !important;
  color: #0b5c96 !important;
  border: 1px solid rgba(11, 92, 150, 0.25) !important;
}

/* Customer requested refinements */
.category-list .brand-category {
  min-height: 52px;
  color: #0b5c96;
  font-size: 13px;
  font-weight: 900;
  background: linear-gradient(135deg, #ffffff, #e7f4ff);
  box-shadow: 0 10px 22px rgba(47, 140, 255, 0.16);
}

.category-list .brand-category.active {
  color: #004f87;
  background: linear-gradient(135deg, #ffffff, #dff1ff);
}

.flagship-home .product-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  margin-right: -18px;
  padding: 12px 18px 4px 0;
  scroll-snap-type: none;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.flagship-home .product-row[data-home-marquee] {
  cursor: grab;
}

.flagship-home .product-row::-webkit-scrollbar {
  display: none;
}

.flagship-home .product-card {
  flex: 0 0 150px;
}

.compact-travel-card {
  min-height: 66px;
}

/* Center-emphasis device tab */
.tabbar button[data-page="device"] {
  transform: translateY(-10px);
}

.tabbar button[data-page="device"] .tab-icon {
  width: 42px;
  height: 42px;
  border-radius: 15px;
  box-shadow: 0 16px 28px rgba(0, 168, 168, 0.25);
}

.tabbar button[data-page="device"] span {
  margin-top: -2px;
  color: #0a6f74;
  font-size: 11px;
  font-weight: 900;
}

.tabbar button[data-page="device"].active::after {
  top: -5px;
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(232, 255, 249, 0.98), rgba(219, 248, 255, 0.94));
  box-shadow: inset 0 0 0 1px rgba(0, 168, 168, 0.12), 0 14px 26px rgba(0, 168, 168, 0.18);
}

/* Editable form pages: profile / pet */
.form-edit-scroll {
  padding-bottom: 28px !important;
}

.form-edit-card h3 {
  margin: 0 0 12px;
}

.form-edit-list {
  display: grid;
  gap: 12px;
}

.form-edit-item {
  display: grid;
  gap: 6px;
  margin: 0;
  padding: 0;
  min-height: 0;
  background: transparent;
  color: inherit;
  font-size: inherit;
}

.form-edit-item > span {
  color: #5b6b73;
  font-size: 12px;
  font-weight: 700;
}

.form-edit-item input,
.form-edit-item textarea {
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  border: 1px solid #d7e4ea;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  color: #1c2d3c;
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
  outline: none;
  -webkit-user-select: text;
  user-select: text;
  pointer-events: auto;
  touch-action: manipulation;
}

.form-edit-item textarea {
  min-height: 88px;
  resize: vertical;
}

.form-edit-item input:focus,
.form-edit-item textarea:focus {
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

.form-edit-item input:disabled {
  color: #8d949b;
  background: #f4f8fb;
}

.profile-mobile-row {
  display: flex;
  gap: 8px;
  align-items: stretch;
}

.profile-mobile-row input {
  flex: 1;
  min-width: 0;
}

.profile-bind-btn {
  flex: 0 0 auto;
  min-width: 88px;
  height: 44px;
  padding: 0 12px;
  border: 1px solid #14b8a6;
  border-radius: 10px;
  background: #f0fdfa;
  color: #0a6f74;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
}

.profile-mobile-tip {
  margin: 2px 0 0;
  color: #8a969e;
  font-size: 11px;
  line-height: 1.4;
}

.bind-mobile-sheet {
  position: absolute;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: end center;
  background: rgba(18, 24, 30, 0.48);
}

.bind-mobile-panel {
  width: min(100%, 420px);
  margin: 0;
  padding: 16px 16px 20px;
  border-radius: 18px 18px 0 0;
  background: #fff;
  box-shadow: 0 -12px 40px rgba(28, 45, 60, 0.18);
}

.bind-mobile-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
}

.bind-mobile-head strong {
  color: #1c2d3c;
  font-size: 17px;
}

.bind-mobile-x {
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: #eef2f5;
  color: #5a6a76;
  font-size: 20px;
  line-height: 1;
}

.bind-mobile-current {
  margin: 0 0 12px;
  color: #5a6a76;
  font-size: 13px;
}

.bind-mobile-field {
  display: grid;
  gap: 6px;
  margin: 0 0 12px;
}

.bind-mobile-field > span {
  color: #5b6b73;
  font-size: 12px;
  font-weight: 700;
}

.bind-mobile-field input {
  width: 100%;
  min-height: 44px;
  box-sizing: border-box;
  border: 1px solid #d7e4ea;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  color: #1c2d3c;
  font: inherit;
  font-size: 15px;
  outline: none;
}

.bind-mobile-field input:focus {
  border-color: #14b8a6;
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.15);
}

.bind-mobile-tip {
  margin: 0 0 14px;
  color: #8a969e;
  font-size: 12px;
}

.bind-mobile-submit {
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: #0b5c96;
  color: #fff;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.bind-mobile-sheet .code-row button:disabled {
  opacity: 0.55;
}

.tag-btn {
  border: 1px solid #d7e4ea;
  border-radius: 999px;
  padding: 8px 14px;
  background: #fff;
  color: #5b6b73;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.tag-btn.selected,
.tag-row .tag-btn.selected {
  border-color: #14b8a6;
  background: #f0fdfa;
  color: #0a6f74;
}

.form-edit-save {
  display: block;
  width: calc(100% - 36px);
  margin: 8px 18px 24px;
  height: 46px;
  border-radius: 12px !important;
}

.code-row button:disabled {
  opacity: 0.55;
}

.profile-quick-row {
  display: flex;
  gap: 10px;
  margin: 0 18px 12px;
}

.profile-quick-row button {
  flex: 1;
  height: 36px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.88);
  color: #0a6f74;
  font-weight: 700;
}

.member-open-hero {
  margin: 16px 18px 0;
  padding: 22px 18px;
  border-radius: 16px;
  background: linear-gradient(135deg, #0f766e, #0891b2);
  color: #fff;
}

.member-open-hero h3 {
  margin: 0 0 8px;
  font-size: 22px;
}

.member-open-hero p {
  margin: 0;
  opacity: 0.92;
  line-height: 1.5;
}

.member-benefit-list,
.member-plan-list {
  display: grid;
  gap: 10px;
}

.member-benefit-list div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px;
  border-radius: 10px;
  background: #f4f8fb;
}

.member-benefit-list b {
  color: #0a6f74;
}

.member-benefit-list span,
.member-plan span {
  color: #5b6b73;
  font-size: 13px;
}

.member-plan {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 12px;
  width: 100%;
  padding: 14px;
  border: 1px solid #d7e4ea;
  border-radius: 12px;
  background: #fff;
  text-align: left;
}

.member-plan strong {
  font-size: 16px;
}

.member-plan b {
  color: #0a6f74;
  font-size: 18px;
}

.member-plan span {
  grid-column: 1 / -1;
}

.member-plan.selected {
  border-color: #14b8a6;
  box-shadow: 0 0 0 2px rgba(20, 184, 166, 0.18);
  background: #f0fdfa;
}

.profile-avatar-preview {
  overflow: hidden;
}

.avatar-upload-head {
  display: grid;
  justify-items: center;
  gap: 8px;
}

.avatar-upload-btn {
  position: relative;
  border: 0;
  padding: 0;
  overflow: hidden;
  cursor: pointer;
}

.avatar-camera {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: rgba(10, 111, 116, 0.92) center/14px 14px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23fff'%3E%3Cpath d='M9 3l-1.5 2H5a2 2 0 00-2 2v11a2 2 0 002 2h14a2 2 0 002-2V7a2 2 0 00-2-2h-2.5L15 3H9zm3 5a5 5 0 110 10 5 5 0 010-10zm0 2a3 3 0 100 6 3 3 0 000-6z'/%3E%3C/svg%3E");
  box-shadow: 0 4px 10px rgba(10, 111, 116, 0.28);
}

.avatar-upload-btn:active {
  transform: scale(0.97);
}

/* 优惠券 */
.coupon-screen .page-scroll {
  padding-bottom: 28px;
}

.coupon-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 12px 16px 8px;
  padding: 6px;
  border-radius: 14px;
  background: #eef3f7;
}

.coupon-tabs button {
  border: 0;
  border-radius: 10px;
  padding: 8px 4px;
  background: transparent;
  color: #6b7c8a;
  font-size: 12px;
  font-weight: 700;
}

.coupon-tabs button.active {
  background: #fff;
  color: #0b5c96;
  box-shadow: 0 4px 12px rgba(12, 48, 74, 0.08);
}

.coupon-list {
  display: grid;
  gap: 12px;
  padding: 8px 16px 24px;
}

.coupon-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  min-height: 96px;
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(135deg, #f4fafc, #ffffff 48%);
  border: 1px solid #e4eef4;
  box-shadow: 0 10px 24px rgba(18, 52, 78, 0.06);
}

.coupon-card.scope-travel {
  background: linear-gradient(135deg, #f3f8ff, #ffffff 48%);
}

.coupon-card.scope-mall {
  background: linear-gradient(135deg, #f7fbf4, #ffffff 48%);
}

.coupon-card-amount {
  display: grid;
  place-content: center;
  gap: 4px;
  padding: 12px 8px;
  text-align: center;
  color: #0b5c96;
  background: rgba(11, 92, 150, 0.06);
}

.coupon-card.scope-travel .coupon-card-amount {
  color: #1d4f91;
  background: rgba(29, 79, 145, 0.08);
}

.coupon-card.scope-mall .coupon-card-amount {
  color: #2f6b3a;
  background: rgba(47, 107, 58, 0.08);
}

.coupon-card-amount b {
  font-size: 26px;
  line-height: 1;
  font-weight: 800;
}

.coupon-card-amount span {
  font-size: 10px;
  line-height: 1.3;
  color: #6f8494;
}

.coupon-card-main {
  display: grid;
  align-content: center;
  gap: 4px;
  padding: 12px 14px;
}

.coupon-card-main strong {
  color: #1c2d3c;
  font-size: 14px;
}

.coupon-card-main em {
  color: #82919d;
  font-size: 11px;
  font-style: normal;
}

.coupon-card-main button,
.coupon-card-main i {
  justify-self: start;
  margin-top: 4px;
  border: 0;
  border-radius: 999px;
  padding: 6px 12px;
  background: #0b5c96;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  font-style: normal;
}

.coupon-card-main button:disabled {
  background: #c5d0d8;
}

.coupon-card.is-used,
.coupon-card.is-expired {
  opacity: 0.72;
  filter: grayscale(0.25);
}

.coupon-card.is-used .coupon-card-main i,
.coupon-card.is-expired .coupon-card-main i {
  background: #9aa8b4;
}

.checkout-price .minus {
  color: #d45454;
}



/* 收货地址 */
.checkout-address-card {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  margin-top: 0;
  padding: 14px;
  border: 1px solid #dceaf3;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(232, 244, 255, 0.95), rgba(255, 255, 255, 0.98)),
    #fff;
  box-shadow: 0 10px 22px rgba(20, 52, 78, 0.06);
  text-align: left;
}

.checkout-address-card.is-empty {
  border-color: rgba(255, 148, 31, 0.35);
  background: linear-gradient(135deg, #fff8f1, #ffffff);
}

.checkout-address-card .cart-address-body strong {
  display: block;
  color: #1c2d3c;
  font-size: 14px;
  font-weight: 800;
}

.checkout-address-card .cart-address-body span {
  margin-top: 4px;
  color: #61717d;
  font-size: 12px;
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.checkout-address-card > em {
  flex-shrink: 0;
  color: #0b5c96;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.checkout-address-sheet {
  position: absolute;
  inset: 0;
  z-index: 92;
  display: grid;
  place-items: end center;
  background: rgba(18, 24, 30, 0.48);
}

.checkout-address-panel {
  width: min(100%, 420px);
  max-height: min(86vh, 720px);
  display: grid;
  grid-template-rows: auto 1fr;
  border-radius: 18px 18px 0 0;
  background: #fff;
  box-shadow: 0 -12px 40px rgba(28, 45, 60, 0.18);
}

.checkout-address-picker-list,
.checkout-address-form {
  display: grid;
  gap: 10px;
  padding-bottom: 20px;
}

.checkout-address-form label,
.address-field {
  display: grid;
  gap: 6px;
  color: #61717d;
  font-size: 12px;
}

.checkout-address-form input,
.checkout-address-form textarea,
.address-field input,
.address-field textarea,
.address-region-selects select {
  width: 100%;
  border: 1px solid #e1e9ef;
  border-radius: 10px;
  padding: 10px 12px;
  background: #fff;
  color: #1c2d3c;
  font-size: 14px;
}

.address-region-selects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.address-default-check {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  color: #1c2d3c;
  font-size: 13px;
}

.address-form-actions {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 10px;
  margin-top: 8px;
}

.address-form-actions button,
.checkout-address-add,
.address-add-btn {
  border: 0;
  border-radius: 12px;
  padding: 12px;
  background: #0b5c96;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.address-form-actions .ghost {
  background: #eef2f5;
  color: #5a6a76;
}

.checkout-address-add {
  margin-top: 4px;
  background: #eef7ff;
  color: #0b5c96;
}

.address-list {
  display: grid;
  gap: 12px;
  padding: 12px 16px 8px;
}

.address-card {
  border: 1px solid #e4eef4;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}

.address-card.is-default {
  border-color: rgba(11, 92, 150, 0.28);
  box-shadow: 0 8px 18px rgba(11, 92, 150, 0.06);
}

.address-card-main {
  display: block;
  width: 100%;
  padding: 14px;
  border: 0;
  background: transparent;
  text-align: left;
}

.address-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.address-card-head strong {
  color: #1c2d3c;
  font-size: 15px;
}

.address-card-head em {
  color: #61717d;
  font-size: 12px;
  font-style: normal;
}

.address-card-head b {
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(11, 92, 150, 0.1);
  color: #0b5c96;
  font-size: 10px;
}

.address-card-main p {
  margin: 8px 0 0;
  color: #61717d;
  font-size: 12px;
  line-height: 1.5;
}

.address-card-ops {
  display: flex;
  gap: 8px;
  padding: 0 12px 12px;
}

.address-card-ops button,
.address-card-ops .muted {
  border: 0;
  border-radius: 999px;
  padding: 6px 10px;
  background: #eef2f5;
  color: #5a6a76;
  font-size: 12px;
  font-weight: 700;
}

.address-card-ops .danger {
  color: #d45454;
  background: #fff1f1;
}

.address-add-btn {
  margin: 8px 16px 28px;
  width: calc(100% - 32px);
}

.address-form-card {
  margin: 12px 16px 28px;
}

/* 地址页 / 购物车地址联通 */
.address-scroll.has-form-bar {
  padding-bottom: 88px;
}

.address-form-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 8;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #e7eef3;
  box-shadow: 0 -8px 24px rgba(20, 38, 54, 0.08);
}

.address-form-bar button {
  border: 0;
  border-radius: 12px;
  padding: 13px 12px;
  font-size: 14px;
  font-weight: 700;
}

.address-form-bar .ghost {
  background: #eef2f5;
  color: #5a6a76;
}

.address-form-bar .primary {
  background: #0b5c96;
  color: #fff;
}

.address-cart-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 12px 16px 4px;
  padding: 12px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eef7ff, #ffffff);
  border: 1px solid #d9e8f3;
}

.address-cart-link.is-empty {
  background: #f7f9fb;
}

.address-cart-link strong {
  display: block;
  color: #1c2d3c;
  font-size: 13px;
}

.address-cart-link span {
  display: block;
  margin-top: 3px;
  color: #82919d;
  font-size: 11px;
}

.address-cart-link button {
  flex-shrink: 0;
  border: 0;
  border-radius: 999px;
  padding: 8px 12px;
  background: #0b5c96;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}

.address-card-ops .use {
  background: #e8f5ee !important;
  color: #1f8a4c !important;
}

.checkout-address-wrap {
  display: grid;
  gap: 8px;
  margin-top: 10px;
}

.checkout-address-manage {
  justify-self: end;
  border: 0;
  background: transparent;
  color: #0b5c96;
  font-size: 12px;
  font-weight: 700;
  padding: 0 2px;
}

.cart-address-strip {
  padding: 12px 16px 0;
}

.cart-address-card {
  display: grid;
  grid-template-columns: 34px 1fr auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 14px;
  border: 1px solid #dceaf3;
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(232, 244, 255, 0.95), rgba(255, 255, 255, 0.98)),
    #fff;
  box-shadow: 0 10px 22px rgba(20, 52, 78, 0.06);
  text-align: left;
}

.cart-address-card.is-empty {
  border-color: rgba(255, 148, 31, 0.35);
  background: linear-gradient(135deg, #fff8f1, #ffffff);
}

.cart-address-pin {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(145deg, #39a7ff, #0b5c96);
  position: relative;
}

.cart-address-pin::before {
  content: "";
  position: absolute;
  width: 12px;
  height: 12px;
  left: 11px;
  top: 8px;
  border: 2px solid #fff;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
}

.cart-address-pin::after {
  content: "";
  position: absolute;
  width: 4px;
  height: 4px;
  left: 15px;
  top: 12px;
  border-radius: 50%;
  background: #fff;
}

.cart-address-body {
  min-width: 0;
}

.cart-address-card strong {
  display: block;
  color: #1c2d3c;
  font-size: 14px;
  font-weight: 800;
}

.cart-address-card span {
  margin-top: 4px;
  color: #61717d;
  font-size: 12px;
  line-height: 1.45;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.cart-address-arrow {
  flex-shrink: 0;
  color: #0b5c96;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

/* Walk spots */
.walk-spots-screen,
.walk-spot-screen {
  background: linear-gradient(180deg, #eef6fb 0, #f7fafc 42%, #ffffff 100%);
}

.walk-spots-screen .page-scroll,
.walk-spot-screen .page-scroll {
  padding: 12px 16px 96px;
}

.walk-hero {
  margin-bottom: 12px;
}

.walk-hero h3 {
  margin: 0 0 4px;
  color: #1c2d3c;
  font-size: 18px;
}

.walk-hero p {
  margin: 0;
  color: #82919d;
  font-size: 13px;
}

.walk-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.walk-tab {
  height: 38px;
  border: 1px solid #d9e3ea;
  border-radius: 10px;
  background: #fff;
  color: #5a6a76;
  font-size: 13px;
  font-weight: 700;
}

.walk-tab.active {
  border-color: #0b5c96;
  background: #eef6fb;
  color: #0b5c96;
}

.walk-city-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 10px;
  margin-bottom: 6px;
  scrollbar-width: none;
}

.walk-city-row::-webkit-scrollbar {
  display: none;
}

.walk-city-chip {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 32px;
  padding: 0 12px;
  border: 1px solid #d9e3ea;
  border-radius: 999px;
  background: #fff;
  color: #5a6a76;
  font-size: 12px;
  font-weight: 700;
}

.walk-city-chip i {
  font-style: normal;
  color: #82919d;
}

.walk-city-chip.active {
  border-color: #0b5c96;
  background: #0b5c96;
  color: #fff;
}

.walk-city-chip.active i {
  color: rgba(255, 255, 255, 0.82);
}

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

.walk-spot-card {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(224, 232, 238, 0.9);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
}

.walk-spot-card img {
  width: 92px;
  height: 92px;
  object-fit: cover;
  border-radius: 12px;
  background: #eef4f8;
}

.walk-spot-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.walk-spot-top strong {
  color: #1c2d3c;
  font-size: 15px;
}

.walk-fav-flag {
  flex-shrink: 0;
  color: #0b5c96;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.walk-spot-city {
  display: inline-block;
  margin-top: 2px;
  color: #0b5c96;
  font-size: 11px;
  font-weight: 700;
}

.walk-spot-main p {
  margin: 4px 0 0;
  color: #5a6a76;
  font-size: 12px;
  line-height: 1.45;
}

.walk-spot-main > b {
  display: block;
  margin-top: 6px;
  color: #82919d;
  font-size: 11px;
  font-weight: 600;
}

.walk-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.walk-tags em {
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef6fb;
  color: #0b5c96;
  font-size: 11px;
  font-style: normal;
  font-weight: 700;
}

.walk-detail-hero img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 16px;
  background: #eef4f8;
}

.walk-detail-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
}

.walk-detail-head em {
  color: #0b5c96;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.walk-detail-head h3 {
  margin: 4px 0 0;
  color: #1c2d3c;
  font-size: 20px;
}

.walk-fav-btn {
  flex-shrink: 0;
  height: 34px;
  padding: 0 12px;
  border: 1px solid #0b5c96;
  border-radius: 999px;
  background: #fff;
  color: #0b5c96;
  font-size: 12px;
  font-weight: 800;
}

.walk-fav-btn.on {
  background: #0b5c96;
  color: #fff;
}

.walk-detail-summary {
  margin: 10px 0 0;
  color: #5a6a76;
  font-size: 13px;
  line-height: 1.55;
}

.walk-detail-card {
  margin-top: 12px;
  padding: 14px;
  border: 1px solid rgba(224, 232, 238, 0.9);
  border-radius: 14px;
  background: #fff;
}

.walk-detail-card h4 {
  margin: 0 0 10px;
  color: #1c2d3c;
  font-size: 15px;
}

.walk-addr-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.walk-addr-row strong {
  display: block;
  color: #1c2d3c;
  font-size: 13px;
}

.walk-addr-row span {
  display: block;
  margin-top: 4px;
  color: #5a6a76;
  font-size: 13px;
  line-height: 1.45;
}

.walk-nav-btn {
  flex-shrink: 0;
  height: 36px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #2f8cff, #00a8c8);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
}

.walk-coord {
  margin: 10px 0 0;
  color: #82919d;
  font-size: 11px;
}

.walk-richtext {
  color: #3d4d5a;
  font-size: 14px;
  line-height: 1.7;
  word-break: break-word;
}

.walk-richtext p {
  margin: 0 0 10px;
}

.walk-richtext img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.walk-richtext ul,
.walk-richtext ol {
  margin: 0 0 10px;
  padding-left: 1.2em;
}

.walk-detail-bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 10px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96);
  border-top: 1px solid #e8eef3;
  backdrop-filter: blur(12px);
}

.walk-fav-bar,
.walk-nav-bar {
  height: 44px;
  border: 0;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 800;
}

.walk-fav-bar {
  border: 1px solid #0b5c96;
  background: #fff;
  color: #0b5c96;
}

.walk-fav-bar.on {
  background: #eef6fb;
}

.walk-nav-bar {
  background: linear-gradient(135deg, #2f8cff, #00a8c8);
  color: #fff;
}
