/* UP 详情页（浅色主题，复用女优详情数据） */
.updetail-body {
  background: #faf7f6;
}
.ud-main.ud-main {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 16px 48px !important;
}

/* 面包屑 */
.ud-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #9a9a9a;
  margin: 8px 0 18px;
}
.ud-breadcrumb a {
  color: #9a9a9a;
  text-decoration: none;
}
.ud-breadcrumb a:hover {
  color: #ff4b8d;
}
.ud-breadcrumb .ud-current {
  color: #1f1f1f;
}
.ud-breadcrumb .ud-sep {
  color: #ccc;
}

/* ---------- 资料卡 ---------- */
.ud-profile {
  display: flex;
  gap: 28px;
  align-items: stretch;
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}
.ud-profile__photo {
  flex: 0 0 260px;
  width: 260px;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  background: #ece6e3;
}
.ud-profile__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ud-profile__info {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.ud-profile__label {
  display: inline-block;
  font-size: 13px;
  color: #9a9a9a;
  margin-bottom: 2px;
}
.ud-profile__name {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 4px 0 14px;
  font-size: 28px;
  font-weight: 800;
  color: #1f1f1f;
}
.ud-share {
  border: none;
  background: linear-gradient(135deg, #ff7eb3, #ff4b8d);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255, 75, 141, 0.3);
}
.ud-profile__desc {
  font-size: 14px;
  line-height: 1.8;
  color: #6b6b6b;
  margin: 0 0 20px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.ud-profile__stats {
  margin-top: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.ud-stat {
  background: #faf7f6;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ud-stat__k {
  font-size: 12px;
  color: #9a9a9a;
}
.ud-stat__v {
  font-size: 15px;
  font-weight: 700;
  color: #1f1f1f;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ---------- 区块标题 ---------- */
.ud-section {
  margin-top: 36px;
}
.ud-section__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}
.ud-section__title {
  position: relative;
  margin: 0;
  padding-left: 14px;
  font-size: 20px;
  font-weight: 800;
  color: #1f1f1f;
}
.ud-section__title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 20px;
  border-radius: 3px;
  background: linear-gradient(180deg, #ff7eb3, #ff4b8d);
}
.ud-section__more {
  font-size: 13px;
  color: #9a9a9a;
  text-decoration: none;
}
.ud-section__more:hover {
  color: #ff4b8d;
}
.ud-section__more span {
  font-weight: 700;
}

/* ---------- 艺人写真 ---------- */
.ud-photos {
  display: flex;
  overflow-x: auto;
  gap: 16px;
  scrollbar-width: none;
  padding-bottom: 4px;
}
.ud-photos::-webkit-scrollbar {
  display: none;
}
.ud-photos .ud-photo {
  flex: 0 0 188px;
}
.ud-photo {
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 12px;
  overflow: hidden;
  background: #ece6e3;
}
.ud-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.ud-photo:hover img {
  transform: scale(1.06);
}

/* ---------- 移动端 ---------- */
@media screen and (max-width: 824px) {
  /* 顶部导航：按设计稿显示 logo + 汉堡（覆盖框架的 返回按钮 + 标题） */
  /* 标题用 visibility:hidden 而非 display:none —— 保留 flex:1 占位，
     否则中间撑开消失，汉堡会被挤回左边 */
  .updetail-body #mobileNavTitle {
    visibility: hidden !important;
  }
  .updetail-body #mobileNavBack {
    display: none !important;
  }
  .updetail-body #mobileNavLogo {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
  }

  .ud-main.ud-main {
    padding: 0 14px 36px !important;
  }
  /* 设计稿无面包屑 */
  .ud-breadcrumb {
    display: none;
  }

  /* 艺人作品：移动端只留封面，隐藏下方标题/播放量/标签（仅本页，homeSectionContentItem 是共用组件） */
  .updetail-body .item-texts {
    display: none;
  }

  /* 资料卡：全幅大图 + 下方左对齐信息（无卡片底） */
  .ud-profile {
    flex-direction: column;
    gap: 0;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
  }
  .ud-profile__photo {
    flex: none;
    width: 230px;
    height: 306.67px;
    aspect-ratio: auto;
    margin: 0 auto;
    border-radius: 6.13px;
  }
  .ud-profile__info {
    padding: 16px 2px 0;
  }
  .ud-profile__label {
    display: inline-block;
  }
  .ud-profile__name {
    justify-content: flex-start;
    font-size: 22px;
    margin: 2px 0 12px;
  }
  .ud-share {
    display: none;
  }
  .ud-profile__desc {
    text-align: left;
    margin-bottom: 0;
  }
  .ud-profile__stats {
    margin-top: 20px;
    gap: 10px;
  }
  .ud-section {
    margin-top: 28px;
  }
  .ud-section__title {
    font-size: 18px;
  }
  /* 写真横向滑动 */
  .ud-photos {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    scrollbar-width: none;
    margin: 0 -14px;
    padding: 0 14px;
  }
  .ud-photos::-webkit-scrollbar {
    display: none;
  }
  .ud-photo {
    flex: 0 0 38vw;
  }
}
