/* media-uncrop-20260831 */
/* Host page UI spec — scoped to list cards + detail. Do not leak site-wide. */
#customerDetailPage.host-page-spec {
  --host-bg: #f6f1fb;
  --host-surface: #fff;
  --host-ink: #24162c;
  --host-muted: #746478;
  --host-line: rgba(154, 92, 152, 0.14);
  --host-accent: #d4539a;
  --host-radius: 22px;
  --host-gap: 14px;
  padding: 6px 16px 32px;
  background: var(--host-bg);
}
#customerDetailPage.host-page-spec .detail-back-btn {
  margin: 4px 0 10px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--host-line);
  box-shadow: none;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(10px);
}
#customerDetailPage.host-page-spec .customer-detail-content {
  max-width: 1120px;
  margin: 0 auto;
  display: block;
}
#customerDetailPage.host-page-spec .host-detail-shell {
  display: grid;
  gap: var(--host-gap);
  min-width: 0;
}
#customerDetailPage.host-page-spec .host-hero.detail-cover {
  min-height: 420px;
  aspect-ratio: 3 / 4;
  max-height: min(72vh, 680px);
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(80, 32, 90, 0.18);
}
#customerDetailPage.host-page-spec .detail-cover-photo-button,
#customerDetailPage.host-page-spec .detail-cover-photo-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
#customerDetailPage.host-page-spec .detail-user-row h2 {
  font-size: clamp(22px, 4vw, 30px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 6px;
  text-shadow: 0 2px 12px rgba(0,0,0,.35);
}
#customerDetailPage.host-page-spec .detail-user-row p {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.02em;
  opacity: .94;
}
#customerDetailPage.host-page-spec .detail-card,
#customerDetailPage.host-page-spec .detail-action-card {
  border: 1px solid var(--host-line);
  box-shadow: 0 8px 22px rgba(80, 32, 90, 0.06);
  border-radius: var(--host-radius);
}
#customerDetailPage.host-page-spec .detail-title {
  margin-bottom: 10px;
  gap: 10px;
}
#customerDetailPage.host-page-spec .detail-title h3 {
  font-size: 16px;
  letter-spacing: 0.02em;
  color: var(--host-ink);
}
#customerDetailPage.host-page-spec .anchor-intro {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
  color: #4a3a55;
}
#customerDetailPage.host-page-spec .detail-desc {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.65;
}
#customerDetailPage.host-page-spec .detail-tags {
  margin-top: 12px;
}
#customerDetailPage.host-page-spec .host-stats-module {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  background: var(--host-surface);
  border: 1px solid var(--host-line);
  border-radius: var(--host-radius);
  padding: 8px 4px;
  box-shadow: 0 8px 22px rgba(80, 32, 90, 0.06);
}
#customerDetailPage.host-page-spec .host-stats-module > div {
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 12px 8px !important;
  border-right: 1px solid var(--host-line);
}
#customerDetailPage.host-page-spec .host-stats-module > div:last-child {
  border-right: 0;
}
#customerDetailPage.host-page-spec .host-stats-module b {
  color: var(--host-ink);
  font-size: 18px;
  letter-spacing: -0.03em;
}
#customerDetailPage.host-page-spec .host-stats-module p {
  color: var(--host-muted);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
#customerDetailPage.host-page-spec .detail-bottom-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
#customerDetailPage.host-page-spec .detail-chat-btn,
#customerDetailPage.host-page-spec .detail-contact-btn {
  height: 50px;
  border-radius: 16px;
  font-weight: 700;
}
@media (max-width: 719px) {
  #customerDetailPage.host-page-spec .host-hero.detail-cover {
    min-height: 360px;
    max-height: 62vh;
    border-radius: 24px;
  }
  #customerDetailPage.host-page-spec .host-stats-module {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #customerDetailPage.host-page-spec .host-stats-module > div:nth-child(2) {
    border-right: 0;
  }
  #customerDetailPage.host-page-spec .host-stats-module > div:nth-child(1),
  #customerDetailPage.host-page-spec .host-stats-module > div:nth-child(2) {
    border-bottom: 1px solid var(--host-line);
  }
  #customerDetailPage.host-page-spec .detail-bottom-actions {
    position: sticky;
    bottom: calc(72px + env(safe-area-inset-bottom, 0px));
    z-index: 5;
    padding: 8px 0 4px;
    background: linear-gradient(180deg, transparent, var(--host-bg) 28%);
  }
}
@media (min-width: 900px) {
  #customerDetailPage.host-page-spec .host-detail-shell {
    grid-template-columns: minmax(300px, 400px) minmax(0, 1fr);
    align-items: start;
    gap: 20px;
  }
  #customerDetailPage.host-page-spec .host-hero {
    grid-column: 1;
    grid-row: 1 / span 12;
    position: sticky;
    top: 12px;
    width: 100%;
    max-height: calc(100vh - 48px);
  }
}

#customersPage .gl-host-card {
  border-radius: 18px;
  border-color: rgba(232, 220, 240, .9);
}
#customersPage .gl-host-caption h4 {
  font-size: 15px;
  letter-spacing: -0.02em;
}
#customersPage .gl-host-caption p {
  font-size: 12px;
  color: #7a6a82;
}

#customerDetailPage.host-page-spec .host-picks-card .detail-title p {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--host-muted);
  font-weight: 500;
}
#customerDetailPage.host-page-spec .host-picks-rail {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 2px 2px 8px;
  scrollbar-width: thin;
}
#customerDetailPage.host-page-spec .host-pick-card {
  flex: 0 0 168px;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 10px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fff8fb 0%, #fff 70%);
  border: 1px solid var(--host-line);
  box-shadow: 0 8px 18px rgba(80, 32, 90, 0.05);
}
#customerDetailPage.host-page-spec .host-pick-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  border: 0;
  border-radius: 14px;
  background: #f4e7f3 center/contain no-repeat;
  cursor: pointer;
}
#customerDetailPage.host-page-spec .host-pick-card em {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 1;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(212, 83, 154, 0.92);
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.04em;
  font-style: normal;
}
#customerDetailPage.host-page-spec .host-pick-card b {
  font-size: 13px;
  line-height: 1.4;
  color: var(--host-ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}
#customerDetailPage.host-page-spec .host-pick-card p {
  margin: 0;
  font-size: 12px;
  line-height: 1.45;
  color: #7a5a72;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
#customerDetailPage.host-page-spec .host-pick-card small {
  color: var(--host-accent);
  font-weight: 700;
}
#customerDetailPage.host-page-spec .host-pick-card small i {
  margin-left: 6px;
  color: #e2a12b;
  font-style: normal;
  letter-spacing: 1px;
}
#customerDetailPage.host-page-spec .host-pick-gift {
  height: 36px;
  border: 0;
  border-radius: 999px;
  background: #24162c;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
#customerDetailPage.host-page-spec .host-pick-gift.is-on {
  background: linear-gradient(90deg, #d4539a, #9b4dff);
}
