/**
 * 一日女友 · Web 同城女友（Figma 2.4 / 225:26198）
 */
body.dg-regions-page {
  overflow: auto !important;
  background: #0a0a0a;
}
body.dg-regions-page .nav-hero,
body.dg-regions-page .nav-back {
  display: none !important;
}
body.dg-regions-page .nav-links a {
  height: 38px !important;
  width: 80px !important;
  min-width: 80px !important;
  max-width: 80px !important;
  padding: 0 12px !important;
  line-height: 1 !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  flex-shrink: 0;
}
body.dg-regions-page .nav-search-wrap {
  display: flex;
  margin-left: auto;
  min-width: 280px !important;
  max-width: 370px !important;
  flex: 0 1 370px !important;
  width: 370px !important;
}
body.dg-regions-page .nav-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  height: 38px;
  padding: 0 10px 0 14px;
  border-radius: 16px;
  border: 1px solid #3a3c50;
  background: #252632;
}
body.dg-regions-page .nav-search-box input {
  flex: 1;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  font-size: 12px;
  font-family: inherit;
}
body.dg-regions-page .nav-search-ico {
  width: 14px;
  height: 14px;
  display: block;
  flex-shrink: 0;
}
body.dg-regions-page .nav-user-link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  overflow: hidden;
  margin-left: 12px;
  display: block;
  background: linear-gradient(135deg, #ff43a7, #ef2df9);
}
body.dg-regions-page .nav-user-link img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body.dg-regions-page .layout {
  position: relative !important;
  top: auto !important;
  margin: 62px auto 0;
  display: flex !important;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  max-width: 1480px;
  min-height: calc(100vh - 62px);
  padding: 18px 24px 48px;
  box-sizing: border-box;
}
/* Figma 左侧「选择省份」：265 宽、圆角 20、三列 74×40 */
body.dg-regions-page .sidebar {
  display: flex !important;
  flex-direction: column;
  flex: 0 0 265px;
  width: 265px;
  max-height: calc(100vh - 100px);
  overflow-x: hidden;
  overflow-y: auto;
  position: sticky;
  top: 80px;
  margin: 0;
  padding: 24px 15px;
  box-sizing: border-box;
  border: 1px solid #27282d;
  border-radius: 20px;
  background: #1d1e25;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
}
body.dg-regions-page .sidebar-label {
  flex: 0 0 auto;
  margin: 0 0 16px;
  padding: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
}
body.dg-regions-page .sidebar-prov-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 6px;
  width: 235px;
}
body.dg-regions-page .sidebar-ptab {
  width: 74px;
  height: 40px;
  padding: 0;
  border: 0;
  border-radius: 14px;
  background: #232429;
  color: #b5b7bf;
  font-size: 16px;
  font-family: inherit;
  line-height: 18px;
  cursor: pointer;
  white-space: nowrap;
}
body.dg-regions-page .sidebar-ptab:hover:not(.active) {
  background: #2c2d33;
  color: #fff;
}
body.dg-regions-page .sidebar-ptab.active {
  background: #ff1290;
  color: #fff;
}
body.dg-regions-page .sidebar .rcard {
  display: none !important;
}
/* 省份改到左侧面板，主区不再重复横向省份行 */
body.dg-regions-page #dp-province-row {
  display: none !important;
}
body.dg-regions-page .main {
  overflow: visible !important;
  flex: 1 1 auto;
  min-width: 0;
  max-width: 1156px;
  margin: 0;
  padding: 0 0 48px;
}
body.dg-regions-page .detail-panel {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
body.dg-regions-page .detail-header {
  display: none !important;
}
body.dg-regions-page .search-panel {
  display: none !important;
}
body.dg-regions-page .publish-fab {
  display: none !important;
}

/* 顶栏图标广告 */
body.dg-regions-page .dg-girls-ads-top {
  margin: 0 0 18px;
}
body.dg-regions-page .dg-girls-ads-bottom {
  margin: 8px 0 0;
}

/* 筛选行：省份 / 城市 / 价格 —— 三行垂直间距一致；多行 chip 顶对齐 */
body.dg-regions-page .dg-filter-row {
  display: flex;
  align-items: flex-start;
  gap: 12px 14px;
  margin: 0 0 26px;
  min-width: 0;
  min-height: 30px;
}
body.dg-regions-page .dg-filter-row .filter-label {
  flex: 0 0 36px;
  width: 36px;
  font-size: 18px;
  font-weight: 500;
  color: #fff;
  line-height: 30px;
  height: 30px;
  white-space: nowrap;
}
/* 省份：有资料的全部展示，可换行 */
body.dg-regions-page .province-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: flex-start;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 30px;
  overflow: visible;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
}
/* 城市：一行放不下折第二行；超出两行可纵向轻滚，避免藏掉有资料的城市 */
body.dg-regions-page .city-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: flex-start;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 30px;
  max-height: 68px; /* 30 + 8 + 30 */
  overflow-x: hidden;
  overflow-y: auto;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  scrollbar-width: thin;
}
body.dg-regions-page .price-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 30px;
  overflow-x: auto;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  border: 0 !important;
  scrollbar-width: none;
}
body.dg-regions-page .price-bar::-webkit-scrollbar {
  display: none;
}
body.dg-regions-page .dg-filter-row--price {
  align-items: flex-start;
  margin-bottom: 26px;
}
body.dg-regions-page .ptab,
body.dg-regions-page .ctab,
body.dg-regions-page .ftab {
  flex-shrink: 0;
  min-width: 60px;
  height: 30px;
  padding: 0 12px;
  border-radius: 12px !important;
  border: 0 !important;
  background: #27282d !important;
  color: #b5b7bf !important;
  font-size: 14px !important;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
}
body.dg-regions-page .ptab.active,
body.dg-regions-page .ctab.active,
body.dg-regions-page .ftab.active {
  background: #ff1290 !important;
  color: #fff !important;
  font-weight: 600;
}
body.dg-regions-page .ptab:hover:not(.active),
body.dg-regions-page .ctab:hover:not(.active),
body.dg-regions-page .ftab:hover:not(.active) {
  background: #32333a !important;
  color: #fff !important;
}

/* 分享女友 FAB · Figma 225:26985 · 90×90 竖排（右下悬浮） */
body.dg-regions-page .share-gf-btn {
  position: fixed;
  right: 48px;
  bottom: 48px;
  z-index: 90;
  margin: 0;
  flex-shrink: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  width: 90px;
  min-width: 90px;
  height: 90px;
  padding: 17px 12px;
  border: 0;
  border-radius: 17px;
  background: linear-gradient(94deg, #ff43a7 0%, #ef2df9 95%);
  color: #fff;
  font-size: 17px;
  font-weight: 500;
  line-height: 25px;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 12px 32px rgba(255, 18, 144, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}
body.dg-regions-page .share-gf-btn img {
  width: 33px;
  height: 33px;
  display: block;
  flex-shrink: 0;
  object-fit: contain;
}
body.dg-regions-page .share-gf-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(255, 18, 144, 0.5);
}

body.dg-regions-page .girls-empty,
body.dg-regions-page .girls-loading {
  grid-column: 1 / -1;
  width: 100%;
  text-align: center;
  padding: 80px 16px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 14px;
  box-sizing: border-box;
}

/* 卡片网格：Figma 2.4 — 桌面 5 列；列宽随主区伸缩，避免固定 220 把卡片挤出视口 */
body.dg-regions-page .girls-grid {
  display: grid !important;
  grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
  gap: 27px 14px !important;
  width: 100% !important;
  max-width: 1156px;
  margin: 0;
  padding: 0 0 20px !important;
  justify-content: start;
  box-sizing: border-box;
}
/* SSR 注入会包一层 .ssr-ready，用 contents 让卡牌继续作为 grid 子项横排 */
body.dg-regions-page .girls-grid > .ssr-ready {
  display: contents;
}
body.dg-regions-page .gcard {
  display: flex;
  flex-direction: column;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  min-height: 0;
  text-decoration: none;
  color: inherit;
  background: #1a1b1e !important;
  border: 0 !important;
  border-radius: 10px !important;
  overflow: hidden;
  min-width: 0;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
body.dg-regions-page .gcard:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4) !important;
}
body.dg-regions-page .gcard-cover {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 220 / 214;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  background: #232429;
  position: relative;
  flex-shrink: 0;
}
body.dg-regions-page .gcard-carousel,
body.dg-regions-page .gcard-carousel img,
body.dg-regions-page .gcard-emoji {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
body.dg-regions-page .gcard-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  background: linear-gradient(160deg, #2a2434, #17161c);
}
body.dg-regions-page .gcard-dots {
  position: absolute;
  left: 50%;
  bottom: 8px;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
}
body.dg-regions-page .gcard-dots i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  display: block;
}
body.dg-regions-page .gcard-dots i.on {
  background: #fff;
}
body.dg-regions-page .gcard-info {
  padding: 10px 10px 12px !important;
  background: #1a1b1e;
}
body.dg-regions-page .gcard-name {
  font-size: 16px !important;
  font-weight: 700;
  color: #fff !important;
  line-height: 1.3;
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.dg-regions-page .gcard-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 8px;
  font-size: 12px;
  color: #b3b3b3;
}
body.dg-regions-page .gcard-author {
  max-width: 90px;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
body.dg-regions-page .gcard-loc {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex-shrink: 0;
  max-width: 48%;
}
body.dg-regions-page .gcard-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 10px;
}
body.dg-regions-page .gcard-tag {
  font-size: 12px !important;
  padding: 4px 7px !important;
  border-radius: 6px;
  background: rgba(200, 154, 255, 0.1) !important;
  color: #b48dff !important;
  cursor: pointer;
}
body.dg-regions-page .gcard-tag:nth-child(2) {
  background: rgba(92, 220, 255, 0.1) !important;
  color: #5c90ff !important;
}
body.dg-regions-page .gcard-tag:nth-child(3) {
  background: rgba(255, 200, 92, 0.1) !important;
  color: #ffc85c !important;
}
body.dg-regions-page .gcard-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
body.dg-regions-page .gcard-rating {
  color: #ffc85c;
  font-size: 13px;
  font-weight: 600;
}
body.dg-regions-page .gcard-price {
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

/* 分页：对齐视频社区 */
body.dg-regions-page .content-pagination {
  padding: 8px 0 20px;
}
body.dg-regions-page .dg-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px 20px;
}
body.dg-regions-page .dg-pager-total {
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
}
body.dg-regions-page .dg-pager-pages {
  display: flex;
  align-items: center;
  gap: 8px;
}
body.dg-regions-page .page-btn,
body.dg-regions-page a.page-btn {
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border: 0;
  border-radius: 8px;
  background: #27282d;
  color: #fff;
  font-size: 13px;
  font-family: inherit;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-sizing: border-box;
  transition: none;
}
body.dg-regions-page .page-btn.active {
  background: #ff1290;
  color: #fff;
}
body.dg-regions-page .page-btn:disabled,
body.dg-regions-page .page-btn[aria-disabled="true"] {
  opacity: 0.35;
  cursor: not-allowed;
}
body.dg-regions-page .dg-pager-goto {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 13px;
}
body.dg-regions-page .dg-pager-goto input {
  width: 48px;
  height: 34px;
  border: 1px solid #3a3c50;
  border-radius: 8px;
  background: #1a1b1e;
  color: #fff;
  text-align: center;
  font-family: inherit;
}
body.dg-regions-page .dg-pager-goto input::-webkit-outer-spin-button,
body.dg-regions-page .dg-pager-goto input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

@media (max-width: 1180px) {
  body.dg-regions-page .girls-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 900px) {
  body.dg-regions-page .nav-search-wrap { display: none; }
  body.dg-regions-page .layout {
    flex-direction: column;
    gap: 16px;
  }
  body.dg-regions-page .sidebar {
    position: static;
    width: 100%;
    flex: 0 0 auto;
    max-height: none;
  }
  body.dg-regions-page .sidebar-prov-grid {
    width: 100%;
  }
  body.dg-regions-page .girls-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  }
  body.dg-regions-page .share-gf-btn {
    right: 16px;
    bottom: 20px;
    width: 74px;
    min-width: 74px;
    height: 74px;
    padding: 12px 8px;
    border-radius: 14px;
    font-size: 13px;
    line-height: 18px;
    gap: 2px;
  }
  body.dg-regions-page .share-gf-btn img {
    width: 26px;
    height: 26px;
  }
  body.dg-regions-page .dg-filter-row .filter-label {
    font-size: 15px;
  }
}
@media (max-width: 700px) {
  body.dg-regions-page .layout {
    margin-top: 0 !important;
    padding-top: 62px;
  }
  body.dg-regions-page .girls-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  body.dg-regions-page .dg-filter-row--price {
    flex-wrap: wrap;
  }
}
