.pt-sec {
    --pt-gap: 12px;
    --pt-pad: max(14px, calc((100% - 1200px) / 2 + 14px));
    width: 100%;
    margin-top: 26px;
    padding-bottom: 8px;
}

.pt-sec a,
.pt-sec button {
    outline: 0;
    color: inherit;
    text-decoration: none;
    font-family: inherit;
    -webkit-tap-highlight-color: transparent;
}

.pt-sec button {
    border: 0;
    padding: 0;
    background: none;
    cursor: pointer;
}

.pt-head {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 var(--pt-pad);
    margin-bottom: 14px;
}

.pt-head h2 {
    margin: 0 auto 0 0;
    min-width: 0;
    font-size: clamp(17px, 4.6vw, 22px);
    font-weight: 700;
    line-height: 1.25;
    color: var(--text1);
}

.pt-head h2 i {
    margin-right: 6px;
    color: var(--gold);
}

.pt-all {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    height: 36px;
    padding: 0 14px;
    border-radius: 2%;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--brand-text);
    background: var(--surface-2);
    transition: background-color .25s, color .25s;
}

.pt-all:hover,
.pt-all:focus-visible {
    background: var(--brand);
    color: var(--on-brand);
}

.pt-arrows {
    display: none;
    gap: 8px;
}

.pt-arrow {
    width: 36px;
    height: 36px;
    border-radius: 2%;
    font-size: 13px;
    color: var(--text1);
    background: var(--surface-2);
    transition: background-color .25s, color .25s, transform .25s var(--ease);
}

.pt-arrow:hover,
.pt-arrow:focus-visible {
    background: var(--brand);
    color: var(--on-brand);
}

.pt-arrow:active {
    transform: scale(.9);
}

.pt-track {
    display: grid;
    grid-template-rows: repeat(2, auto);
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 2 * var(--pt-gap)) / 3);
    gap: 18px var(--pt-gap);
    margin: 0;
    padding: 0 var(--pt-pad);
    list-style: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: var(--pt-pad);
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    box-sizing: border-box;
}

.pt-track::-webkit-scrollbar {
    display: none;
}

.pt-item {
    min-width: 0;
    scroll-snap-align: start;
}

.pt-item a {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.pt-img {
    position: relative;
    display: block;
    aspect-ratio: 2 / 3;
    border-radius: 2%;
    overflow: hidden;
    background: var(--surface-2);
}

.pt-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease);
}

.pt-item a:hover .pt-img img {
    transform: scale(1.06);
}

.pt-rank {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 9px;
    border-radius: 2%;
    font-size: 12px;
    font-weight: 700;
    color: var(--on-brand);
    background: var(--brand);
}

.pt-name {
    margin-top: 6px;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.35;
    color: var(--text1);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pt-sub {
    font-size: 11.5px;
    color: var(--text-dim);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pt-sub i {
    margin-right: 3px;
    color: var(--brand-text);
}

@media (min-width: 640px) {
    .pt-track {
        grid-auto-columns: calc((100% - 3 * var(--pt-gap)) / 4);
    }
}

@media (min-width: 900px) {
    .pt-track {
        grid-auto-columns: calc((100% - 5 * var(--pt-gap)) / 6);
    }

    .pt-arrows {
        display: flex;
    }
}
