/* ============================================================
   talents.css · 陪玩名册
   页头 / 吸顶筛选 / 四列名册网格 / 加载更多
   ============================================================ */

.index-hero {
  position: relative;
  padding: clamp(52px, 8vw, 94px) 0 clamp(30px, 4vw, 46px);
  border-bottom: 1px solid var(--line);
}

.index-title {
  margin: 22px 0 26px;
  font-family: var(--font-display);
  font-size: clamp(48px, 7.2vw, 94px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: .08em;
}

.index-title em {
  font-style: normal;
  color: var(--brass-hi);
}

.index-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 44px;
}

.index-sub {
  max-width: 46ch;
  font-size: 13px;
  line-height: 2;
  letter-spacing: .04em;
  color: var(--txt-mid);
}
/* 手机端：只将“服务城市”文字向右移动 */
@media (max-width: 600px) {
  .index-stats > div:last-child > span {
    position: relative;
    left: 12px;
  }
}
.index-stats {
  display: flex;
  gap: clamp(28px, 4vw, 56px);
  flex: none;
}

.index-stats div {
  display: grid;
  gap: 6px;
}

.index-stats b {
  font-family: var(--font-latin);
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: .04em;
  color: var(--txt);
}

.index-stats span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .22em;
  color: var(--txt-low);
  white-space: nowrap;
}

.index-stats b .region-control {
  font: inherit;
  letter-spacing: inherit;
  color: inherit;
}

/* ==================== 筛选 ==================== */
.filter-bar {
  position: sticky;
  top: var(--nav-h);
  z-index: 90;
  background: rgba(11, 11, 12, .96);
  border-bottom: 1px solid var(--line);
}

.filter-inner {
  display: flex;
  align-items: stretch;
  gap: 34px;
}

.type-scroll {
  display: flex;
  gap: clamp(20px, 2.6vw, 34px);
  flex: 1;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.type-scroll::-webkit-scrollbar {
  display: none;
}

.type-chip {
  position: relative;
  flex: none;
  padding: 19px 0 17px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: .18em;
  color: var(--txt-low);
  transition: color var(--dur-base);
  white-space: nowrap;
}

.type-chip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease);
}

.type-chip:hover {
  color: var(--txt-mid);
}

.type-chip.active {
  color: var(--txt);
}

.type-chip.active::after {
  transform: scaleX(1);
}

.search-box {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 264px;
  flex: none;
  padding-left: 26px;
  border-left: 1px solid var(--line);
}

.search-box svg {
  width: 14px;
  height: 14px;
  color: var(--txt-low);
  flex: none;
}

.search-input {
  width: 100%;
  padding: 19px 0;
  font-family: inherit;
  font-size: 12px;
  letter-spacing: .08em;
  color: var(--txt);
  background: transparent;
  border: 0;
  outline: none;
}

.search-input::placeholder {
  color: var(--txt-faint);
}

.search-input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

/* ==================== 列表 ==================== */
.index-main {
  padding: clamp(34px, 4.5vw, 54px) 0 clamp(80px, 10vw, 124px);
  min-height: 52vh;
}

.index-result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--txt-low);
}

.index-result b {
  color: var(--brass);
  font-weight: 600;
}

.tgrid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(22px, 2.6vw, 38px) clamp(14px, 1.6vw, 22px);
}

.tgrid .tcard {
  min-width: 0;
}

.load-more-wrap {
  margin-top: clamp(40px, 6vw, 64px);
  text-align: center;
}

.load-more-wrap .btn {
  min-width: 220px;
}

.index-end {
  margin-top: clamp(40px, 6vw, 64px);
  text-align: center;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: .26em;
  color: var(--txt-faint);
}

/* ==================== 响应式 ==================== */
@media (max-width: 1180px) {
  .tgrid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .index-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 26px;
  }

  .index-stats {
    width: 100%;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--line);
  }

  .filter-inner {
    flex-direction: column;
    gap: 0;
  }

  .type-scroll {
    width: 100%;
  }

  .search-box {
    width: 100%;
    padding: 0 0 14px;
    border-left: 0;
  }

  .search-input {
    padding: 0;
    font-size: 12.5px;
  }

  .search-box svg {
    display: none;
  }
}

@media (max-width: 720px) {
  .tgrid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 12px;
  }

  .index-title {
    margin: 18px 0 20px;
  }

  .index-title .count {
    margin-left: 10px;
  }
}
