.md-typeset .explore {
  --explore-cover-ratio: 2 / 3;
  margin: 0 0 .5rem;

  &.music {
    --explore-cover-ratio: 1 / 1;
  }

  ul {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 18px 6px;
    margin: .8rem 0;
    padding: 0;
    list-style: none;

    @media (max-width: 768px) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
    @media (max-width: 480px) { grid-template-columns: repeat(4, minmax(0, 1fr)); }

    li {
      min-width: 0;
      margin: 0;
      padding: 0;
      cursor: pointer;

      /* 封面卡片容器与悬停效果 */
      > p:first-child,
      > a {
        display: block;
        width: 100%;
        aspect-ratio: var(--explore-cover-ratio);
        margin: 0;
        box-shadow: 0 2px 8px rgb(0 0 0 / 12%);
        transition: transform .25s ease, box-shadow .25s ease;

        > a { height: 100%; }
      }

      img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
      }

      @media (hover: hover) {
        &:hover > p:first-child,
        &:hover > a {
          transform: translateY(-.2rem);
          box-shadow: 0 6px 16px rgb(0 0 0 / 16%);
        }
      }

      .explore-title {
        overflow: hidden;
        margin: .4rem 0 0;
        line-height: 1.45;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      /* 滚动入场动画状态 */
      &.explore-pending {
        opacity: 0;
        transform: translateY(36px);
      }

      &.explore-visible {
        opacity: 1;
        transform: translateY(0);
        will-change: opacity, transform;
        transition: opacity 1.0s cubic-bezier(0.16, 1, 0.3, 1), transform 1.0s cubic-bezier(0.16, 1, 0.3, 1);
      }
    }
  }
}