/* Shared desktop long-video card. Keep all visual changes for this component here. */
@media (min-width: 769px) {
  .pc-long-video-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    gap: 8px;
    color: rgba(255, 255, 255, .9);
    text-decoration: none;
  }

  .pc-long-video-card__cover {
    position: relative;
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    aspect-ratio: 16 / 9;
    /* Figma 51173:430024 视频列表占位：#3D3D3D + 91漫剧水印 */
    background: #3d3d3d url("/static/images/pc-video-list-placeholder.png?v=20261013-91-list-1") center / cover no-repeat;
    transition: transform 0.2s ease;
  }

  .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;
    background: transparent;
    pointer-events: none;
    transition: box-shadow 0.2s ease, background-color 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-long-video-card__badges {
    position: absolute;
    z-index: 2;
    top: 6px;
    left: 6px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
  }

  /* Figma 51065:402576 角标-常规：VIP / 金币 / 热门 */
  .pc-long-video-card__badge {
    padding: 2px 4px;
    border-radius: 6px;
    background: rgba(0, 0, 0, .55);
    color: #fff;
    font-size: 10px;
    font-style: normal;
    font-weight: 400;
    line-height: 14px;
  }

  .pc-long-video-card__badge--vip {
    background: linear-gradient(90deg, #fc6ea0 8%, #f04066 100%);
  }

  .pc-long-video-card__badge--coin {
    background: linear-gradient(90deg, #aa7fff 0%, #7833f7 51%);
  }

  .pc-long-video-card__badge--hot {
    background: linear-gradient(90deg, #fe571e 0%, #ffab65 100%);
  }

  .pc-long-video-card__badge--free {
    background: rgba(0, 0, 0, .55);
  }

  .pc-long-video-card__badge--ad {
    background: rgba(255, 255, 255, .88);
    color: #111;
    font-weight: 700;
  }

  .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: 12px;
    line-height: 18px;
  }

  .pc-long-video-card__title {
    display: -webkit-box;
    min-width: 0;
    min-height: 44px;
    margin: 0;
    overflow: hidden;
    color: rgba(255, 255, 255, .9);
    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; }

  /* Figma 封面悬停（样式=288）：金描边 + 轻微放大 + 暗罩；标题保持白色 */
  .pc-long-video-card:hover .pc-long-video-card__cover {
    transform: scale(1.02);
  }
  .pc-long-video-card:hover .pc-long-video-card__cover::after {
    box-shadow: inset 0 0 0 1.5px #ffb800;
    background: rgba(0, 0, 0, 0.30);
  }
  .pc-long-video-card:focus-visible {
    border-radius: 8px;
    outline: 2px solid #ffb800;
    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; }
}
