/**
 * 一日女友 · 女友资料详情（Figma 2.7 免费 225:45118 / 2.8 付费 225:45495）
 */
body.dg-girl-detail-page {
  background: #111 !important;
}
body.dg-girl-detail-page:before {
  opacity: 0.4;
}

/* 顶栏：五枚导航 80×38；搜索 370×38（覆盖 shell / detail 的 320） */
body.dg-girl-detail-page .nav-search-wrap {
  display: flex !important;
  margin-left: auto;
  min-width: 280px !important;
  max-width: 370px !important;
  flex: 0 1 370px !important;
  width: 370px !important;
}
body.dg-girl-detail-page .nav-search-box {
  width: 100% !important;
  height: 38px !important;
}

body.dg-girl-detail-page .page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 101px 0 48px;
}
body.dg-girl-detail-page .gd-layout {
  display: grid;
  grid-template-columns: minmax(0, 799px) 375px;
  gap: 26px;
  align-items: start;
}

/* 面包屑：同城女友 > 女友资料详情（勿用 nav，避免顶栏样式污染） */
body.dg-girl-detail-page .crumb {
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
  position: static !important;
  width: max-content !important;
  height: auto !important;
  margin: 0 0 21px !important;
  padding: 0 !important;
  background: transparent !important;
  border: 0 !important;
  z-index: auto !important;
  font-size: 16px;
  line-height: 22px;
  color: #b0b1b3;
}
body.dg-girl-detail-page .crumb a {
  color: #b0b1b3 !important;
  text-decoration: none !important;
  font-weight: 500;
}
body.dg-girl-detail-page .crumb a:hover { color: #fff !important; }
body.dg-girl-detail-page .crumb .current {
  color: #fff !important;
  font-weight: 700;
}
body.dg-girl-detail-page .crumb .crumb-sep {
  width: 16px;
  height: 16px;
  display: block;
  flex-shrink: 0;
}

body.dg-girl-detail-page .gd-main {
  min-width: 0;
}
body.dg-girl-detail-page .gd-top {
  display: grid;
  grid-template-columns: 412px 370px;
  gap: 17px;
  align-items: start;
}

/* 左侧图集：单帧 + 左右切换 */
body.dg-girl-detail-page .gd-photos {
  position: relative;
  width: 100%;
}
body.dg-girl-detail-page .gd-gallery,
body.dg-girl-detail-page .gd-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 412 / 656;
  max-height: 656px;
  border-radius: 8px;
  overflow: hidden;
  background: #1a1b1e;
}
body.dg-girl-detail-page .gd-gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: none;
  cursor: zoom-in;
}
body.dg-girl-detail-page .gd-gallery-img.is-on { display: block; }
body.dg-girl-detail-page .gd-gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
}
body.dg-girl-detail-page .gd-gallery-nav img {
  width: 26px;
  height: 26px;
  display: block;
  pointer-events: none;
}
body.dg-girl-detail-page .gd-gallery-nav.prev { left: 12px; }
body.dg-girl-detail-page .gd-gallery-nav.next { right: 12px; }
body.dg-girl-detail-page .gd-gallery-idx {
  position: absolute;
  right: 12px;
  bottom: 12px;
  box-sizing: border-box;
  min-width: 46px;
  height: 26px;
  padding: 0 10px;
  border-radius: 8px;
  border: 1px solid rgba(143, 144, 150, 0.6);
  background: rgba(35, 36, 41, 0.6);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  pointer-events: none;
}
body.dg-girl-detail-page .gd-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  cursor: zoom-in;
}
body.dg-girl-detail-page .gd-photo-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 72px;
  background: linear-gradient(160deg, #1e1640, #2a2038);
  cursor: default;
}

/* 右侧资料 */
body.dg-girl-detail-page .gd-info {
  width: 370px;
  min-width: 370px;
  max-width: 370px;
}
body.dg-girl-detail-page .gd-name-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
body.dg-girl-detail-page .gd-name {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}
body.dg-girl-detail-page .gd-coin-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  height: 26px;
  padding: 0 10px 0 8px;
  border-radius: 10px;
  border: 1px solid #f5d79a;
  background: #322b2c;
  color: #ffc85c;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
}
body.dg-girl-detail-page .gd-coin-badge img {
  width: 14px;
  height: 14px;
  display: block;
}
body.dg-girl-detail-page #fav-btn {
  margin-left: auto;
}
body.dg-girl-detail-page .gd-fav {
  margin-left: 0;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  height: 34px;
  padding: 0 14px;
  border-radius: 34px;
  border: 1px solid #35363c;
  background: #1b172e;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}
body.dg-girl-detail-page .gd-fav.on {
  border-color: #feca69;
  color: #feca69;
}
body.dg-girl-detail-page .gd-fav img {
  width: 20px;
  height: 20px;
  display: block;
}

body.dg-girl-detail-page .gd-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  position: relative;
}
body.dg-girl-detail-page .gd-author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: #27282d;
}
body.dg-girl-detail-page .gd-author-avatar.is-link {
  cursor: pointer;
}
body.dg-girl-detail-page .gd-author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
body.dg-girl-detail-page .gd-author-meta {
  min-width: 0;
}
body.dg-girl-detail-page .gd-author-name {
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}
body.dg-girl-detail-page .gd-author-date {
  margin-top: 4px;
  font-size: 14px;
  color: #b3b3b3;
}
body.dg-girl-detail-page .gd-author-city {
  margin-left: auto;
  font-size: 14px;
  color: #b3b3b3;
  white-space: nowrap;
}

body.dg-girl-detail-page .gd-intro {
  margin-top: 18px;
  font-size: 16px;
  line-height: 24px;
  color: #fff;
  white-space: pre-wrap;
  word-break: break-word;
  max-height: 288px;
  overflow: auto;
}

body.dg-girl-detail-page .gd-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 16px;
}
body.dg-girl-detail-page .gd-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  min-width: 70px;
  padding: 0 14px;
  border-radius: 34px;
  border: 1px solid #35363c;
  background: #1b172e;
  color: #ff1290;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
}
body.dg-girl-detail-page a.gd-tag:hover {
  background: rgba(255, 18, 144, 0.12);
}

body.dg-girl-detail-page .gd-facts {
  display: grid;
  grid-template-columns: 180px 180px;
  gap: 14px;
  margin-top: 20px;
}
body.dg-girl-detail-page .gd-fact-label {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}
body.dg-girl-detail-page .gd-fact-box {
  height: 44px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid #35363c;
  background: #27282d;
  color: #c8cacf;
  font-size: 16px;
}

body.dg-girl-detail-page .gd-contact-wrap {
  margin-top: 18px;
}
body.dg-girl-detail-page .gd-contact-label {
  margin-bottom: 8px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}
body.dg-girl-detail-page .gd-contact-box {
  display: flex;
  align-items: center;
  gap: 10px;
  height: 57px;
  padding: 0 14px;
  border-radius: 8px;
  border: 1px solid rgba(130, 130, 130, 0.8);
  background: #27272a;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}
body.dg-girl-detail-page .gd-contact-box .val {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.dg-girl-detail-page .gd-contact-box img {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
body.dg-girl-detail-page .gd-unlock {
  margin-top: 18px;
}
body.dg-girl-detail-page .gd-unlock-card {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 92px;
  height: 92px;
  padding: 18px 16px;
  border-radius: 8px;
  border: 1px solid rgba(130, 130, 130, 0.8);
  background: #27272a;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
}
body.dg-girl-detail-page .gd-unlock-card .lock-title {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}
body.dg-girl-detail-page .gd-unlock-card .lock-title img {
  width: 20px;
  height: 20px;
  display: block;
}
body.dg-girl-detail-page .gd-unlock-card .coins {
  margin: 0;
  color: #b3b3b3;
  font-size: 14px;
  font-weight: 400;
}
body.dg-girl-detail-page .gd-refresh-btn {
  display: block;
  width: 100%;
  height: 48px;
  margin-top: 12px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(119deg, #ff43a7 0%, #ef2df9 95%);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
}
body.dg-girl-detail-page .gd-refresh-btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

/* 服务项目 */
body.dg-girl-detail-page .gd-services {
  margin-top: 28px;
}
body.dg-girl-detail-page .gd-section-title {
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 500;
  color: #fff;
}
body.dg-girl-detail-page .gd-service-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
body.dg-girl-detail-page .gd-service {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  min-width: 68px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid #35363c;
  background: #232429;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
}
body.dg-girl-detail-page a.gd-service:hover {
  border-color: rgba(255, 18, 144, 0.45);
  color: #ff1290;
}

body.dg-girl-detail-page .gd-ads {
  margin-top: 24px;
}

/* 右侧同类推荐 */
body.dg-girl-detail-page .gd-side {
  background: #1d1e25;
  border: 1px solid #27282d;
  border-radius: 20px;
  padding: 12px;
  box-shadow: 0 2px 7.5px rgba(0, 0, 0, 0.4);
}
body.dg-girl-detail-page .gd-side-title {
  margin: 0 0 12px 16px;
  font-size: 16px;
  font-weight: 500;
  color: #fff;
}
body.dg-girl-detail-page .gd-related {
  display: flex;
  flex-direction: column;
}
body.dg-girl-detail-page .gd-related-item {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 16px 14px;
  border-bottom: 1px solid #262626;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
body.dg-girl-detail-page .gd-related-item:last-child {
  border-bottom: 0;
}
body.dg-girl-detail-page .gd-related-item:hover {
  background: rgba(255, 18, 144, 0.06);
}
body.dg-girl-detail-page .gd-related-thumb {
  width: 96px;
  height: 60px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: #27282d;
}
body.dg-girl-detail-page .gd-related-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
body.dg-girl-detail-page .gd-related-info {
  flex: 1;
  min-width: 0;
}
body.dg-girl-detail-page .gd-related-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 16px;
  color: #fff;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
body.dg-girl-detail-page .gd-related-meta {
  margin-top: 10px;
  font-size: 12px;
  color: #b5b7bf;
}
body.dg-girl-detail-page .gd-related-rating {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #f6d142;
  font-size: 12px;
}
body.dg-girl-detail-page .gd-related-rating img {
  width: 12px;
  height: 12px;
}

body.dg-girl-detail-page .lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.88);
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: zoom-out;
}
body.dg-girl-detail-page .lightbox.open { display: flex; }
body.dg-girl-detail-page .lightbox img {
  max-width: 96vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
}

@media (max-width: 1100px) {
  body.dg-girl-detail-page .gd-layout {
    grid-template-columns: 1fr;
  }
  body.dg-girl-detail-page .gd-side {
    order: 3;
  }
}
@media (max-width: 860px) {
  body.dg-girl-detail-page .page {
    padding: 72px 14px 36px;
  }
  body.dg-girl-detail-page .gd-top {
    grid-template-columns: 1fr;
  }
  body.dg-girl-detail-page .gd-info {
    width: auto;
    min-width: 0;
    max-width: none;
  }
  body.dg-girl-detail-page .gd-photo,
  body.dg-girl-detail-page .gd-gallery {
    max-height: 520px;
  }
}
