/* 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;
    background: #151719;
  }

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

  .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__badge {
    position: absolute;
    z-index: 2;
    top: 6px;
    left: 6px;
    padding: 1px 5px;
    border-radius: 3px;
    background: rgba(247, 68, 78, .9);
    color: #fff;
    font-size: 10px;
    font-style: normal;
    font-weight: 500;
    line-height: 16px;
  }

  .pc-long-video-card__badge--vip,
  .pc-long-video-card__badge--coin {
    background: #d9a72c;
    color: #15100a;
    font-weight: 700;
  }

  .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;
    transition: color .2s ease;
    -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__image { transform: scale(1.035); }
  .pc-long-video-card:hover .pc-long-video-card__title { color: #f2c65d; }
  .pc-long-video-card:focus-visible { border-radius: 8px; outline: 2px solid #e9b54b; 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; }
}
