/* Shared desktop long-video card. Keep all visual changes for this component here. */
/* Figma 好色 封面展示样式-横 样式8 / 悬停 288 */
@media (min-width: 769px) {
  .pc-long-video-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 6px;
    color: #fff;
    text-decoration: none;
  }

  .pc-long-video-card__cover {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 16 / 9;
    background: #3d3d3d url("/static/images/pc-video-list-placeholder.png?v=20261020-haose-ph-1") center / cover no-repeat;
  }

  .pc-long-video-card__cover::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1.5px transparent;
    pointer-events: none;
    transition: box-shadow 0.2s ease;
  }

  .pc-long-video-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .pc-long-video-card__shade {
    position: absolute;
    z-index: 1;
    right: 0;
    bottom: 0;
    left: 0;
    height: 48px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, .72));
    pointer-events: none;
  }

  /* 角标见 pc-content-badge.css（Figma 好色丝带形） */

  .pc-long-video-card__badge--ad {
    display: inline-flex;
    min-height: 18px;
    padding: 2px 4px;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
    background: rgba(255, 255, 255, .88);
    color: #111;
    font-size: 10px;
    font-weight: 700;
    line-height: 14px;
  }

  .pc-long-video-card__meta {
    position: absolute;
    z-index: 2;
    right: 8px;
    bottom: 6px;
    left: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #fff;
    font-size: 14px;
    line-height: 20px;
  }

  .pc-long-video-card__title {
    display: -webkit-box;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    overflow: hidden;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 22px;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .pc-long-video-card__details {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    color: rgba(255, 255, 255, .55);
    font-size: 14px;
    line-height: 20px;
  }

  .pc-long-video-card__details > span:first-child {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .pc-long-video-card__favorite {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 4px;
    color: #facd15;
  }

  .pc-long-video-card__favorite img { width: 16px; height: 16px; }

  /* 悬停：品红内描边 + 发光；无放大、无黑罩 */
  .pc-long-video-card:hover .pc-long-video-card__cover {
    box-shadow: 0 0 15px #e5365c;
  }
  .pc-long-video-card:hover .pc-long-video-card__cover::after {
    box-shadow: inset 0 0 0 1.5px #e5365c;
  }
  .pc-long-video-card:focus-visible {
    border-radius: 8px;
    outline: 2px solid #e5365c;
    outline-offset: 3px;
  }

  /* Keep the card surface stable until the decrypted cover is ready to paint. */
  .pc-long-video-card__image[data-image-reveal]:not([data-image-state]) { opacity: 0; }
}
