.hm-main {
    background: #0b0b10;
}

/* swiper  */
.hm-banner {
    width: 100%;
    overflow: hidden;
}

.hm-banner-swipe {
    width: 100%;
    height: 31.25rem;
    display: block;
    position: relative;
}

.hm-banner-slide {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hm-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.hm-banner-mask {
    position: absolute;
    z-index: 2;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 13.4375rem;
    background: linear-gradient(180deg,
            rgba(15, 15, 15, 0) 0%,
            rgba(15, 15, 15, 0.76),
            rgba(15, 15, 15, 1) 100%);
}

.hm-banner-content {
    position: absolute;
    width: 100%;
    padding: 0 1.5625rem;
    left: 50%;
    transform: translateX(-50%);
    bottom: 1.875rem;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .3125rem;
    text-align: center;
}

.hm-banner-title {
    font-size: 1.375rem;
    color: #ffffff;
    text-transform: uppercase;
    font-family: 'SF pro 700', sans-serif;
}

.hm-banner-sub {
    font-size: .875rem;
    color: rgba(255, 255, 255, 0.48);
    font-family: 'SF pro 400', sans-serif;
}


.hm-banner-btn {
    margin: .375rem auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .3125rem;
    min-width: 6.1875rem;
    height: 2.625rem;
    padding: .3125rem .625rem;
    border-radius: .375rem;
    background: #FA3767;
    color: #ffffff;
    cursor: pointer;
    font-family: 'Manrop 600', sans-serif;
}

.hm-banner-play {
    width: 1rem;
    height: 1.125rem;
}

.hm-banner-swipe .van-swipe__indicators {
    bottom: .9375rem;
    gap: .1875rem;
}

.hm-banner-swipe .van-swipe__indicator {
    width: 0.25rem;
    height: .25rem;
    border-radius: .125rem;
    background: rgba(255, 255, 255, 0.6);
}

.hm-banner-swipe .van-swipe__indicator--active {
    width: 1rem;
    background: #FFFFFF;
}

/* section header (hot / new 共用) */
.hm-sec-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1rem;
    margin: 1.375rem 0 .625rem;
    font-family: 'Inter 700', sans-serif;
}

.hm-sec-title {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: .1875rem;
}

.hm-sec-title-icon {
    width: 1.25rem;
    height: 1.25rem;
}

.hm-sec-title-text {
    margin: 0;
    font-size: 1rem;
    color: #fff;
}

.hm-more {
    display: flex;
    align-items: center;
    gap: .1875rem;
    font-size: .875rem;
    color: #FFFFFF;
    text-decoration: none;
    font-family: 'Inter 500', sans-serif;
}

.hm-more-arrow {
    width: .625rem;
    height: .625rem;
    display: block;
    margin-top: .0625rem;
}


/* hot */
.hm-hot {
    width: 100%;
}

.hm-hot-list {
    overflow-x: auto;
    scrollbar-width: none;
}

.hm-hot-list::-webkit-scrollbar {
    display: none;
}

.hm-hot-grid {
    display: inline-grid;
    grid-auto-flow: column;
    grid-template-rows: repeat(3, 5.8388rem);
    row-gap: .5625rem;
    column-gap: 18px;
    padding: 0 1rem;
}

.hm-hot-item {
    display: flex;
    align-items: stretch;
    gap: .5rem;
}

.hm-hot-cover {
    position: relative;
    flex: 0 0 4.19rem;
    width: 4.19rem;
    height: 5.8388rem;
    border-radius: .375rem;
    overflow: hidden;
}

.hm-hot-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hm-hot-rank {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 1.03rem;
    height: .9325rem;
    border-radius: .375rem 0 .375rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'DIN pro 700', sans-serif;
    font-size: .75rem;
    color: #fff;
}

.hm-hot-rank-1,
.hm-hot-rank-2,
.hm-hot-rank-3 {
    background: rgba(250, 55, 103, 1);
}

.hm-hot-rank-4,
.hm-hot-rank-5,
.hm-hot-rank-6 {
    background: rgba(251, 107, 67, 1)
}


.hm-hot-info {
    min-width: 7.3125rem;
}

.hm-hot-name {
    font-size: .75rem;
    color: #FFFFFF;
    line-height: .9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    margin-bottom: .5rem;
    font-family: 'Inter 500', sans-serif;
}

.hm-hot-desc {
    font-size: .5625rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: .875rem;
    font-family: 'SF pro 400', sans-serif;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

/* new */
.hm-new {
    width: 100%;
}

.hm-new-list {
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 1rem;
}

.hm-new-list::-webkit-scrollbar {
    display: none;
}

.hm-new-track {
    display: flex;
    gap: .4375rem;
    padding-right: 1rem;
}

.hm-new-card {
    flex: 0 0 auto;
}

.hm-new-cover {
    position: relative;
    width: 5.625rem;
    height: 8.125rem;
    border-radius: .5rem;
    overflow: hidden;
}

.hm-new-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hm-new-tag {
    height: .9375rem;
    width: 1.875rem;
    position: absolute;
    z-index: 2;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter 400', sans-serif;
    font-size: .625rem;
    color: #fff;
    background: linear-gradient(66deg,
            rgba(252, 0, 176, 1) 0,
            rgba(252, 15, 69, 1) 51.647872%,
            rgba(255, 84, 19, 1) 97.292876%);
    border-radius: 0 .375rem 0 .2188rem;
}

/* recommend */
.hm-recommend {
    width: 100%;
}

.hm-recommend-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .625rem .4375rem;
    padding: 0 1rem;
}

.hm-recommend-cover {
    width: 100%;
    height: 9.125rem;
    border-radius: .375rem;
}

.hm-recommend-cover img {
    width: 100%;
    height: 100%;
    border-radius: .5625rem;
    object-fit: cover;
}

.hm-recommend-name {
    margin-top: .5rem;
    font-size: .75rem;
    line-height: .875rem;
    color: #fff;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
    font-family: 'Inter 500', sans-serif;
}

/* 置顶按钮 */
.hm-to-top {
    position: fixed;
    right: 1.875rem;
    bottom: 6.25rem;
    width: 2.5rem;
    height: auto;
    z-index: 40;
    cursor: pointer;
}