/* Actress detail page — profile + works grid on video-static shell */

body.home-page.actress-detail-page .page-main {
  gap: 0;
  padding: 0;
  max-width: none;
  width: 100%;
}

.actress-detail-alert {
  padding: 12px 16px;
  border-radius: 8px;
  background: rgba(255, 77, 77, 0.12);
  color: #ff8a8a;
  font-size: 14px;
  line-height: 20px;
}

.actress-detail-crumb {
  align-self: stretch;
  font-size: 18px;
  line-height: 24px;
  font-weight: 400;
}

.actress-detail-crumb__link {
  color: var(--video-text, #fff);
}

.actress-detail-crumb__current {
  color: var(--video-muted, rgba(255, 255, 255, 0.55));
}

.actress-detail-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  align-self: stretch;
}

.actress-detail-profile__avatar {
  width: 60px;
  height: 60px;
  border-radius: 9999px;
  object-fit: cover;
  background: var(--video-placeholder, #464646);
  flex-shrink: 0;
}

.actress-detail-profile__name {
  margin: 0;
  color: var(--video-text, #fff);
  font-size: 16px;
  line-height: 22px;
  font-weight: 600;
}

.actress-detail-profile__bio {
  margin: 0;
  align-self: stretch;
  color: var(--video-muted, rgba(255, 255, 255, 0.55));
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.actress-detail-divider {
  align-self: stretch;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.actress-detail-works {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 18px;
  align-self: stretch;
  min-width: 0;
  width: 100%;
}

.actress-detail-works .video-grid {
  display: grid;
  width: 100%;
  min-width: 0;
}

.actress-detail-works .video-card,
.actress-detail-works .video-card__main,
.actress-detail-works .video-card__body,
.actress-detail-works .video-card__title {
  min-width: 0;
  max-width: 100%;
}

/* Visibility */
@media (max-width: 768px) {
  .actress-detail-only-pc {
    display: none !important;
  }
}

@media (min-width: 769px) {
  .actress-detail-only-h5 {
    display: none !important;
  }
}

/* ========== H5 ========== */
@media (max-width: 768px) {
  .actress-detail-static .video-view {
    padding: 12px 16px 24px;
  }

  .actress-detail-static .video-inner {
    gap: 18px;
  }

  .actress-detail-crumb {
    font-size: 12px;
    line-height: 18px;
  }

  .actress-detail-profile__bio {
    font-size: 12px;
    line-height: 18px;
  }

  .actress-detail-works {
    gap: 18px;
  }

  .actress-detail-works .video-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 7px;
  }

  .video-pager--h5 {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 9px;
    overflow: hidden;
    align-self: center;
  }

  .video-pager__h5-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    padding: 6px 12px;
    border: 0;
    border-radius: 6px;
    font-size: 12px;
    line-height: 18px;
    font-family: inherit;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    box-sizing: border-box;
  }

  .video-pager__h5-btn--prev {
    background: rgba(255, 225, 32, 0.3);
    color: rgba(255, 255, 255, 0.5);
  }

  .video-pager__h5-btn--prev.is-disabled {
    pointer-events: none;
    cursor: not-allowed;
  }

  .video-pager__h5-btn--next {
    background: var(--video-accent, #ecd227);
    color: #333;
  }

  .video-pager__h5-btn--next.is-disabled {
    background: rgba(255, 225, 32, 0.3);
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    cursor: not-allowed;
  }

  .video-pager__h5-btn--jump {
    width: 60px;
    min-width: 60px;
    background: rgba(255, 255, 255, 0.1);
    color: #989898;
  }

  .video-pager__h5-info {
    color: var(--video-text);
    font-size: 12px;
    line-height: 18px;
    white-space: nowrap;
  }

  .video-pager__h5-input {
    width: 60px;
    height: 30px;
    padding: 6px 12px;
    border: 0;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: transparent;
    color: var(--video-text);
    font-size: 12px;
    line-height: 18px;
    text-align: center;
    font-family: inherit;
    box-sizing: border-box;
  }
}

/* ========== PC ========== */
@media (min-width: 769px) {
  .actress-detail-static .video-view {
    padding: 30px 200px 60px;
  }

  .actress-detail-static .video-inner {
    max-width: 1520px;
    gap: 30px;
  }

  .video-pager--pc {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 4px 0;
    align-self: center;
    overflow: hidden;
  }

  .video-pager__circle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: #3d3d3d;
    color: rgba(255, 255, 255, 0.55);
    font-size: 16px;
    line-height: 22px;
    font-family: inherit;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    box-sizing: border-box;
  }

  .video-pager__circle[aria-disabled="true"] {
    opacity: 0.55;
    cursor: not-allowed;
  }

  .video-pager__circle--active {
    background: var(--video-accent, #ecd227);
    color: #3d3d3d;
    cursor: default;
  }

  .video-pager__circle img {
    display: block;
    width: 24px;
    height: 24px;
  }

  .video-pager__ellipsis {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 48px;
    color: rgba(255, 255, 255, 0.55);
    font-size: 16px;
    line-height: 22px;
  }

  .video-pager__goto {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
  }

  .video-pager__goto-label {
    color: rgba(255, 255, 255, 0.55);
    font-size: 16px;
    line-height: 22px;
  }

  .video-pager__goto-input {
    width: 72px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: #3d3d3d;
    color: #fff;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
    font-family: inherit;
    box-sizing: border-box;
  }

  .video-pager__goto-btn {
    width: 96px;
    height: 48px;
    border: 0;
    border-radius: 999px;
    background: var(--video-accent, #ecd227);
    color: #3d3d3d;
    font-size: 16px;
    line-height: 22px;
    font-family: inherit;
    cursor: pointer;
  }
}

@media (min-width: 769px) and (max-width: 1600px) {
  .actress-detail-static .video-view {
    padding-left: 48px;
    padding-right: 48px;
  }
}
