main {
    overflow: visible;
}
.kbd * {
    margin: 0;
    padding: 0;
}

.kbd {
    line-height: 1;
}

.sec-kv {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 670px;
    background-image: url(https://oss.yamaha.com.cn/files/20240902/keyboard_senior_competition/kv.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.ic-logo {
    position: absolute;
    top: 40px;
    right: 40px;
}

.sec-kv h1 {
    position: absolute;
    font-size: 60px;
    font-weight: 500;
}

@keyframes scrollHint {
    0% {
        opacity: 0;
        transform: translateY(-30px);
    }

    40% {
        opacity: 100;
        transform: translateY(-15px);
    }

    100% {
        opacity: 0;
        transform: translateY(0);
    }
}

.scroll-container {
    position: absolute;
    bottom: 20px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation-name: scrollHint;
    animation-duration: 2s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
}

.scroll-container i {
    font-size: 24px;
}

.scroll-container span {
    font-size: 16px;
}
.sec-nav {
    position: sticky;
    top: 0;
    z-index: 10;
}

.sec-bg {
    width: 100%;
    color: #fff;
    background: linear-gradient(
        90deg,
        #b04cb3 0%,
        #6441a6 49.22%,
        #b04cb3 100%
    );
    display: flex;
    justify-content: center;
    padding-top: 10px;
    padding-bottom: 10px;
    font-size: 20px;
    z-index: 10;
}
.sec-nav-list {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.sec-nav-item {
    width: 6em;
    padding: 10px 0;
    border-bottom: 2px solid transparent;
    text-align: center;
    cursor: pointer;
    transition: all 0.5s ease;
}

.sec-nav-item a {
    color: #fff;
}

.sec-nav-item:hover, .sec-nav-item.is-active {
    border-color: #fff;
}

.sec-judge {
    margin-top: 60px;
    padding-top: 55px;
    background-image: url(https://oss.yamaha.com.cn/files/20240902/keyboard_senior_competition/sec-judge-bg.jpg);
    margin-right: auto;
    margin-left: auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.sec-title-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}
.section {
    position: relative;
}
.anchor {
    position: absolute;
    top: -50px;
    width: 100%;
    height: 1px;
}
.sec-award .anchor {
    top: -100px;
}
.sec-review .sec-title-box {
    margin-bottom: 50px;
}
.sec-judge .sec-title-box {
    margin-bottom: 55px;
}
.sec-award .sec-title-box {
    margin-bottom: 30px;
}

.sec-continued .sec-title-box {
    margin-bottom: 33px;
}
.sec-title {
    font-size: 60px;
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(to right, #af4bb3, #6541a7);
    color: transparent;
    background-clip: text;
}

.sec-subtitle {
    font-size: 48px;
    color: #e5e5e5;
    margin-top: 10px;
    font-family: Oswald, "Microsoft Yahei", "Lucida Grande", sans-serif;
}

.review-content {
    display: flex;
    justify-content: center;
    position: relative;
}

.review-content::before {
    content: "";
    display: block;
    width: 100%;
    height: calc(100% - 50px);
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: #f0f0f0;
}

.container-fluid.sec-review {
    padding: 50px 32px 0;
}
.review-box {
    display: flex;
    gap: 0 50px;
    position: relative;
}

.review-title {
    font-size: 24px;
}

.review-text {
    margin: 15px 0;
}

.text-plain {
    font-size: 16px;
    line-height: 1.75;
}

.ic-list {
    display: flex;
    justify-content: space-between;
    margin: 0 12px 0 22px;
}

.ic-item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-top: 19px;
    margin-bottom: 35px;
    gap: 6px 0;
}
.ic-item img {
    margin-bottom: 6px;
}

.review-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 100px;
}

.session-border {
    background: linear-gradient(90deg, #af4bb3 0%, #6541a7 100%);
    padding: 1px;
    border-radius: 3px;
    margin-bottom: 30px;
}

.session-list {
    display: flex;
}

.session-item {
    background-color: #fff;
    color: #e5e5e5;
    overflow: hidden;
    padding: 15px 40px;
    cursor: pointer;
    font-size: 20px;
}

.session-item:first-child {
    border-top-left-radius: 2px;
    border-bottom-left-radius: 2px;
}

.session-item:last-child {
    border-top-right-radius: 2px;
    border-bottom-right-radius: 2px;
}

.session-item.is-active {
    color: #fff;
    background: linear-gradient(90deg, #af4bb3 0%, #6541a7 100%);
}

.year-list {
    flex-shrink: 0;
}

.year-item img {
    max-width: 100%;
}

.year-number {
    font-size: 48px;
    font-family: Oswald, "Microsoft Yahei", "Lucida Grande", sans-serif;
}

.sec-review {
    padding-top: 50px;
    margin: 0 auto;
}
.container-fluid.review-box {
    padding: 0 32px;
}
.container-fluid.review-box:before,
.container-fluid.review-box:after {
    display: none;
}

.video-title {
    font-size: 24px;
    font-weight: bold;
    color: #383838;
    margin-bottom: 15px;
}

.video-list {
    display: flex;
    gap: 0 15px;
}

.video-item {
    flex-grow: 1;
    cursor: pointer;
}
.video-item p {
    font-size: 16px;
    text-align: center;
    margin-top: 10px;
}

.video-cover {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-cover .cover {
    width: 100%;
}

.ic-play {
    position: absolute;
}

.center-swiper {
    padding-left: max((100% - 1200px)/2, 0px) !important;
}

.swiper-slide img {
    max-width: 100%;
}

.judge-content {
    position: relative;
    margin: 0 auto;
    width: 1264px;
    max-width: 100%;
}

.swiper-prev,
.swiper-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
}

.swiper-prev {
    left: calc(50% - 700px);
}

.swiper-next {
    right: calc(50% - 700px);
}

.swiper-next img {
    transform: rotate(180deg);
}

.sec-award {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.award-container {
    width: 100%;
    background-color: #ffddcb;
    display: flex;
    justify-content: center;
    padding: 35px 0;
}

.award-content {
    width: 740px;
    display: flex;
    /* border: 1px solid red; */
    gap: 0 50px;
}

.rank-list {
    width: 291px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    gap: 20px 0;
    margin-top: 67px;
}

.rank-item {
    background-color: #fff;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px 0;
    cursor: pointer;
    color: #ba765b;
    font-size: 20px;
}

.rank-item.is-active {
    background: #ba765b;
    color: #fff;
    position: relative;
}

.rank-item.is-active:after {
    position: absolute;
    right: -10px;
    display: block;
    content: "";
    width: 0;
    height: 0;
    border-top: 12px solid transparent;
    border-bottom: 12px solid transparent;
    border-left: 24px solid #ba765b; /* 设置三角形的颜色 */
}

.rank-item .star-list + p {
    padding-left: 7px;
}

.rank-content {
    text-align: center;
}
.rank-content p:first-child {
    font-size: 14px;
    color: #383838;
    margin-bottom: 20px;
}
.rank-content p:last-child {
    margin-top: 20px;
    font-size: 16px;
    color: #000000;
}

.rank-scroller {
    height: 610px;
    overflow-y: auto;
}

.rank-scroller img {
    max-width: 100%;
}

.sec-continued {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 55px;
    background-image: url(https://oss.yamaha.com.cn/files/20240902/keyboard_senior_competition/sec-judge-bg.jpg);
    padding-bottom: 100px;
    overflow: hidden;
}
.sec-continued > p {
    font-size: 16px;
    line-height: 28px;
    font-weight: 400;
    vertical-align: top;
    text-align: center;
    margin-bottom: 48px;
}

.continued-swiper {
    width: 100%;
}

.continued-swiper .swiper-slide {
    transform: scale(0.8);
    transition: transform 0.3s ease-in-out;
    border-radius: 10px;
    overflow: hidden;
}

.continued-swiper .swiper-slide.swiper-slide-active {
    transform: scale(1);
}

.continued-pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.continued-pagination .swiper-pagination-bullet {
    width: 11px;
    height: 11px;
}

.continued-pagination
    .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: #af4bb3;
}
.is_sp {
    display: none;
}

/* UPDATE */
.shadow {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
}

.video-container {
    position: relative;
    width: 900px;
    max-width: 90%;
}

.video-container video {
    max-width: 100%;
}

.video-container i {
    font-size: 24px;
    position: absolute;
    top: 0;
    right: 0;
    transform: translate(110%, -110%);
    color: #fff;
    cursor: pointer;
}

.session-list .session-item:last-child {
    pointer-events: none;
}

.session-list.session-judge-list .session-item:last-child,
.session-list.session-award-list .session-item:last-child {
    pointer-events: auto;
}


@media all and (max-width: 1024px) {
    .swiper-prev {
        left: calc(50% - 480px);
    }

    .swiper-next {
        right: calc(50% - 480px);
    }

    .video-container i {
        transform: translate(0, -120%);
    }
    .year-number {
        font-size: 36px;
    }
}

@media all and (max-width: 820px) {
    .session-item {
        padding: 15px 10px;
    }
}

@media all and (max-width: 768px) {
    .ic-logo {
        width: 80%;
    }
    .sec-kv h1 {
        font-size: 8.3vw;
        font-weight: 400;
    }
    .sec-nav-list {
        font-size: 16px;
    }
    .sec-nav {
        top: 60px;
    }
    .sec-award .anchor {
        top: -140px;
    }
    .anchor {
        top: -100px;
    }
    .sec-title {
        font-size: 48px;
        font-weight: 400;
    }
    .sec-subtitle {
        font-size: 36px;
        font-weight: 700;
    }
    .sec-review .sec-title-box {
        margin-bottom: 35px;
    }
    .session-item {
        padding: 15px 40px;
    }
    .container-fluid.review-box {
        padding: 0;
    }
    .review-box {
        flex-direction: column;
    }
    .review-info {
        padding-top: 0;
        text-align: center;
        align-items: center;
    }
    .text-plain {
        font-size: 18px;
    }
    .review-text {
        margin-bottom: 50px;
    }
    .review-content::before {
        height: calc(50%);
    }
    .is_sp {
        display: block;
    }
    .year-list {
        padding: 0 20px;
    }
    .ic-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        margin: 0 0 15px;
    }
    .container-fluid.sec-review {
        padding: 30px 20px 0;
    }
    .video-title {
        margin-left: 8px;
    }
    .video-list {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 30px 20px;
    }
    .video-item p {
        font-size: 18px;
        font-weight: 700;
    }

    .sec-judge {
        margin-top: 55px;
        padding-top: 65px;
    }

    .swiper-prev {
        left: 20px;
    }
    .swiper-next {
        right: 20px;
    }
    .swiper-container {
        width: 100%;
        height: 100%;
    }

    .swiper-slide {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .sec-award .sec-title-box {
        margin-bottom: 45px;
    }
    .award-content {
        width: 100%;
        flex-direction: column;
        align-items: center;
        padding: 0 20px;
    }
    .rank-list {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 30px 20px;
    }
    .rank-item {
        flex-direction: column;
        height: 120px;
    }
    .rank-item p {
        padding: 0 15px !important;
        text-align: center;
        line-height: 28px;
    }
    .rank-item .star-list + p {
        margin-top: 8px;
    }
    .rank-content p:first-child {
        margin-top: 35px;
    }
    .rank-item.is-active:after {
        right: 50%;
        transform: translateX(50%);
        bottom: -26px;
        border-right: 12px solid transparent;
        border-top: 24px solid #ba765b;
        border-left: 12px solid transparent; /* 设置三角形的颜色 */
    }
    .continued-swiper {
        padding: 0 20px;
    }
    .sec-nav-item:hover{
        border-color: transparent;
    }
    .sec-nav-item.is-active {
        border-color: #fff;
    }
}
@media all and (max-width: 430px) {
    .center-swiper .swiper-slide {
        padding: 0 42px;
    }
    .video-list {
        grid-template-columns: 1fr;
        gap: 30px 0;
    }
}
@media all and (max-width: 375px) {
    .year-number {
        font-size: 36px;
    }
    .rank-item p {
        font-size: 16px;
        line-height: 24px;
    }
}

@media all and (max-width: 1280px) {
    .review-info {
        flex-shrink: 3;
    }

    .year-list {
        flex-shrink: 1;
    }
}
