/* 猎艳 AV 列表页 */

.page-main--av {
  padding-top: 16px;
}
.page-main--av .notice-bar {
  width: 100%;
  max-width: 1130px;
  margin: 0 auto;
}

.av-page {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Tab 筛选 */
.av-tabs {
  position: relative;
  height: 48px;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
}

.av-tabs__list {
  display: flex;
  align-items: stretch;
  height: 48px;
  padding: 0 12px;
  border-bottom: 1px solid var(--border);
}

.av-tabs__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 68px;
  padding: 0 6px;
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 22px;
}

.av-tabs__item:hover {
  color: var(--text-primary);
}

.av-tabs__item--active {
  color: var(--text-secondary);
  text-shadow: 0 0 0 var(--text-secondary);
}

.av-tabs__item--active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--primary);
}

.av-list-status {
  margin: 0;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  background: #fff1f2;
  color: #be123c;
  font-size: 14px;
  line-height: 22px;
}

.av-list-status.is-error {
  border: 1px solid #fecdd3;
}

.av-grid__empty {
  width: 100%;
  margin: 0;
  padding: 48px 16px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
}

.av-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-content: flex-start;
  justify-content: flex-start;
  padding-top: 24px;
}

.av-card {
  width: 268px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-decoration: none;
  color: inherit;
}

.av-card__cover {
  position: relative;
  height: 148px;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.av-card__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.av-card__overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 48px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%);
}

.av-card__views,
.av-card__duration {
  position: absolute;
  bottom: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1.6px 6.38px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 4.79px;
  color: #fff;
  font-size: 15.95px;
  font-weight: 400;
  line-height: 25.52px;
  white-space: nowrap;
}

.av-card__views {
  left: 10px;
}

.av-card__duration {
  right: 10px;
}

.av-card__title {
  color: var(--text-title);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.44;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.av-card__tag {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 0 6px;
  background: linear-gradient(135deg, #ec4899 0%, #be185d 100%);
  border: 1px solid var(--primary);
  border-radius: 6px;
  color: #fff;
  font-size: 16px;
  line-height: 26px;
}

/* ===== H5: lieyanAv-h5.css ===== */

/* 猎艳 AV 列表页 — H5 适配 */

@media (max-width: 767px) {
  body {
    background: var(--bg-h5);
  }

  .page-main--av {
    padding-top: 0;
    padding-bottom: 24px;
  }

  .page-main--av .container {
    max-width: none;
    padding-left: 16px;
    padding-right: 16px;
  }

  .av-page {
    gap: 0;
  }

  .av-tabs {
    border-radius: 0;
  }

  /* 视频卡片网格 — 双列 168px */
  .av-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
    width: 100%;
    max-width: 343px;
    margin: 0 auto;
    padding: 12px 0;
  }

  .av-card {
    width: 100%;
    gap: 6px;
  }

  .av-card__cover {
    height: auto;
    aspect-ratio: 16 / 9;
    border-radius: 9px;
  }

  .av-card__overlay {
    height: 30px;
  }

  .av-card__views,
  .av-card__duration {
    bottom: 6px;
    padding: 1px 4px;
    border-radius: 3px;
    font-size: 10px;
    line-height: 16px;
  }

  .av-card__views {
    left: 6px;
  }

  .av-card__duration {
    right: 6px;
  }

  .av-card__title {
    font-size: 12px;
    line-height: 18px;
    -webkit-line-clamp: 2;
  }

  .av-card__tag {
    padding: 0 4px;
    border-width: 0.5px;
    border-radius: 4px;
    font-size: 10px;
    line-height: 16px;
  }
}
