/* چولپانلار 页面：圆形头像 → 竖版矩形卡片（三列网格） */
.star-grid .star-item .avatar-ring,
.star-item .avatar-ring {
  width: 100% !important;
  height: 9.375rem !important;
  border-radius: 0.3125rem !important;
  padding: 0 !important;
  overflow: hidden !important;
  background: #e8e8e8 !important;
}

.star-grid .star-item .avatar-ring.male,
.star-item .avatar-ring.male,
.star-grid .star-item .avatar-ring.female,
.star-item .avatar-ring.female {
  background: #e8e8e8 !important;
}

.star-grid .star-item .avatar,
.star-item .avatar,
.star-grid .star-item image.avatar,
.star-item image.avatar,
.star-grid .star-item .avatar img,
.star-item .avatar img,
.star-grid .star-item uni-image.avatar,
.star-item uni-image.avatar {
  width: 100% !important;
  height: 100% !important;
  border-radius: 0.3125rem !important;
  border: none !important;
  object-fit: cover !important;
}

.star-grid .star-item,
.star-item {
  align-items: stretch !important;
}

/* 性别栏：ھەممىسى / ئەر / ئايال 三列 */
.gender-tabs .gender-text {
  font-size: 0.8125rem !important;
  white-space: nowrap;
}

/* 电脑端头像比例（整站手机框已由 pc-phone-frame.css 负责） */
@media (min-width: 768px) {
  .star-grid .star-item .avatar-ring,
  .star-item .avatar-ring {
    height: auto !important;
    aspect-ratio: 3 / 4 !important;
  }

  .star-grid .star-item,
  .star-item {
    width: 33.333% !important;
    max-width: 33.333% !important;
    flex: 0 0 33.333% !important;
  }

  .star-name,
  .star-nation {
    text-align: center !important;
  }
}


/* 头像左上角中文名（贴角，与电影封面角标一致） */
.star-grid .star-item .avatar-ring,
.star-item .avatar-ring {
  position: relative !important;
}

.star-item .star-zh,
.star-grid .star-item .star-zh,
.star-item .avatar-ring .star-zh {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: auto !important;
  inset-inline-start: 0 !important;
  inset-inline-end: auto !important;
  z-index: 6 !important;
  width: auto !important;
  max-width: 88% !important;
  margin: 0 !important;
  padding: 3px 6px 4px !important;
  box-sizing: border-box !important;
  border-radius: 0 0 7px 0 !important;
  background: rgba(0, 0, 0, 0.55) !important;
  color: #fff !important;
  font-size: 11px !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  pointer-events: none !important;
  direction: ltr !important;
  text-align: left !important;
  unicode-bidi: isolate !important;
  font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif !important;
  letter-spacing: 0.02em !important;
  display: block !important;
}
