.ts-banner {
    position: relative;
    background: transparent;
    padding: 32px 0 0;
    background-color: #f9f9f9;
}
.ts-banner::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 300px;
    background: var(--ts-bg, #0b6cff);
    transition: background-color 450ms ease;
    z-index: 0;
}

.ts-banner__inner {
    position: relative;
    z-index: 1;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 10px;
}

.ts-banner__swiper {
    width: 1200px;
}

.banner-card {
    background: #fff;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
}

.swiper-slide .banner-card {
    width: 100%;
}

/* 버튼 */
.ts-nav {
    position: relative;
    background: none;
    cursor: pointer;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding-top: 160px;
}
.ts-nav img {
    width: 30px;
    height: auto;
    display: block;
}
.ts-nav:hover {
    background: none;
}

/* 리뷰 카드 */
.banner-card--review {
    display: grid;
    gap: 20px;
    padding: 30px 20px 43px;
    text-align: center;
    grid-template-columns: 45% 1fr;
    background: #fff;
}

.banner-card--review .review__header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 18px;
    grid-column: span 2;
}

.banner-card--review .review__header .txt-container h1 {
    font-family: "Paperlogy-8ExtraBold", "Pretendard", "Noto Sans KR";
    margin: 0 0 10px;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.banner-card--review .review__header .txt-container h1 span {
    color: #ffd321;
}

.banner-card--review .review__header .txt-container p {
    font-family: "Paperlogy-4Regular", "Pretendard", "Noto Sans KR";
    margin: 0;
    font-size: 20px;
    line-height: 1.5;
    color: #333;
}

/* 점수 2칸 */
.banner-card--review .item-score {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-self: center;
    justify-items: center;
}

.banner-card--review .item-score .item {
    display: grid;
    gap: 5px;
    justify-content: center;
    text-align: center;
}

.banner-card--review .item-score .item p,
.banner-card--review .item-graph p {
    font-family: "Pretendard", "Noto Sans KR";
    font-size: 18px;
    font-weight: 700;
    color: #666666;
    line-height: 1;
    text-align: center;
}

.banner-card--review .item-score .item p.number {
    font-size: 36px;
    font-weight: 900;
    color: #444444;
    line-height: 1;
}

.banner-card--review .item-score p > small {
    margin-left: 3px;
    font-size: 24px;
}

.banner-card--review .item-score .item .icon > i {
    font-size: 24px;
    color: #ffd321;
}
.banner-card--review .item-graph {
    padding: 0 30px;
}

.banner-card--review .item-graph .graph {
    position: relative;
    margin-top: 5px;
    width: 100%;
    height: 30px;
    border-radius: 15px;
    background-color: #eaeaea;
    overflow: hidden;
}

.banner-card--review .item-graph .graph.ts {
    margin-top: 15px;
}

.banner-card--review .item-graph .graph.ts .inner-graph {
    position: absolute;
    left: 0;
    top: 0;
    background-color: #ffd321;
    width: 100%;
    height: 30px;
    border-radius: 15px;
}

.banner-card--review .item-graph .graph.company-a .inner-graph {
    position: absolute;
    left: 0;
    top: 0;
    background-color: #ffd321;
    width: 6%;
    height: 30px;
    border-radius: 15px;
}

.banner-card--review .item-graph .graph.company-b .inner-graph {
    position: absolute;
    left: 0;
    top: 0;
    background-color: #ffd321;
    width: 8%;
    height: 30px;
    border-radius: 15px;
}

.banner-card--review .item-graph .text-name,
.banner-card--review .item-graph .text-num {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-family: "Pretendard", "Noto Sans KR";
    font-size: 13px;
    font-weight: 800;
    color: #666666;
    line-height: 1;
    z-index: 3;
}

.banner-card--review .item-graph .text-name {
    left: 55px;
}

.banner-card--review .item-graph .text-num {
    right: 55px;
}

/*  TS 플레이 데이 카드  */
.banner-card--playday {
    position: relative;
    height: 400px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.1);
    background: #1f0b00;
    display: flex;
    align-items: center;
    background: url(/board/skin/home_review/images/bg_tsplayday_pc.jpg) no-repeat;
    background-position: top center;
}

.banner-card--playday__content {
    position: relative;
    z-index: 1;
    padding: 40px 100px;
    display: flex;
    align-items: center;
    gap: 30px;
    width: 100%;
}

.banner-card--playday__text {
    width: min(520px, 100%);
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.banner-card--playday__title {
    font-family: "Paperlogy-8ExtraBold", "Pretendard", "Noto Sans KR";
    color: #ffd321;
    font-size: 40px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin: 0;
}

.banner-card--playday__desc {
    font-family: "Paperlogy-4Regular", "Pretendard", "Noto Sans KR";
    margin: 0;
    font-size: 24px;
    line-height: 32px;
    font-weight: 400;
}

.banner-card--playday__desc .accent {
    color: #ffd321;
}

.banner-card--playday__desc .base {
    color: #ffffff;
}
@media (max-width: 767px) {
}

.video-card {
    padding: 20px;
    background-color: #fff;
    border-radius: 30px;
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin: 30px 0;
}

/*Video Slide*/
.video-card .video-review,
.video-card .video-playday {
    position: relative;
    padding: 0 24px;
    overflow: hidden;
    width: 100%;
}

.video-card .video-title {
    font-family: "Pretendard", "Noto Sans KR";
    font-size: 20px;
    font-weight: 700;
    color: #31a5ff;
}

.video-card .video-swiper,
.video-card .video-swiper-playday {
    position: relative;
    margin-top: 20px;
    overflow: hidden;
}

.video-card .swiper-wrapper {
    display: flex;
}

.video-card .swiper-slide {
    flex-shrink: 0;
    width: 22%;
    max-width: 280px; /* 적당히 제한 */
    box-sizing: border-box;
    padding: 0 5px;
}

.video-card .video-thumbnail {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.video-card .video-thumbnail img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
    aspect-ratio: 16 / 9; /* 썸네일 비율 고정 */
    object-fit: cover;
}

.video-card .swiper-slide .caption {
    margin-top: 10px;
    font-family: "Pretendard", "Noto Sans KR";
    font-weight: 600;
    font-size: 15px;
    color: #444444;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-card .swiper-button-prev,
.video-card .swiper-button-next {
    position: absolute;
    top: 65%;
    transform: translateY(-50%);
    z-index: 10;
    width: 24px;
    height: 24px;
    color: #666666;
}

.video-card .swiper-button-prev:after,
.video-card .swiper-button-next:after {
    font-size: 24px;
}

.video-card .swiper-button-prev {
    left: 0;
}

.video-card .swiper-button-next {
    right: 0;
}
/* 탭 래퍼 */
.ts-tabs {
    flex: 1;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
    padding-top: 30px;
    background-color: #f9f9f9;
}

/* 탭 버튼 */
.ts-tab {
    appearance: none;
    border: 0;
    background: #eee;
    width: 590px;
    height: 90px;
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.ts-tab:hover {
    transform: translateY(-1px);
    color: #ccc;
}

.ts-tab__icon {
    width: 60px;
    height: auto;
    border-radius: 999px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    overflow: hidden;
}

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

.ts-tab__text {
    font-family: "Pretendard", "Noto Sans KR";
    font-size: 28px;
    font-weight: 700;
    color: #999;
    white-space: nowrap;
}

/* ✅ active */
.ts-tab.is-active {
    background: #fff;
    color: var(--active-color, #0066cc);
}
.ts-tab.is-active .ts-tab__text {
    color: var(--active-color, #0066cc);
}

/* 모바일 */
@media (max-width: 767px) {
    .ts-banner {
        padding: 18px 0 0;
    }

    .ts-banner__inner {
        padding: 0 12px;
        gap: 10px;
    }

    .ts-banner__swiper {
        width: 100%;
    }

    .ts-nav {
        display: none;
    }
    .ts-nav img {
        width: 16px;
        height: 16px;
    }
    .video-card {
        margin: 20px 0;
    }
    .video-card .video-title {
        font-size: 18px;
        font-weight: 700;
        color: #31a5ff;
    }
    .banner-card--review {
        grid-template-columns: 1fr;
        gap: 15px;
        margin-top: 10px;
        padding: 20px;
        border-radius: 20px;
        min-height: 396px;
    }
    .banner-card--review .review__header {
        margin-bottom: 18px;
        grid-column: span 1;
    }
    .banner-card--review .review__header .txt-container h1 {
        font-size: clamp(24px, 6.8vw, 28px);
    }
    .banner-card--review .review__header .txt-container p {
        font-family: "Paperlogy-4Regular", "Pretendard", "Noto Sans KR";
        font-size: 18px;
        line-height: 1.3;
    }

    .banner-card--review .item-score {
        grid-template-columns: repeat(2, 1fr);
        align-self: center;
        justify-items: center;
        margin-bottom: 10px;
    }

    .banner-card--review .item-score .item p,
    .banner-card--review .item-graph p {
        font-size: 16px;
    }
    .banner-card--review .item-score .item p.number {
        font-size: 24px;
    }

    .banner-card--review .item-score p > small {
        margin-left: 3px;
        font-size: 24px;
    }

    .banner-card--review .item-score .item .icon > i {
        font-size: 18px;
        color: #ffd321;
    }

    .banner-card--review .item-graph {
        padding: 0;
    }

    .banner-card--playday {
        height: auto;
        border-radius: 20px;
        margin-top: 10px;
        background: url(/board/skin/home_review/images/bg_tsplayday_m.jpg) no-repeat;
        background-size: cover;
        min-height: 396px;
        align-items: flex-end;
    }

    .banner-card--playday__content {
        padding: 0 0 50px;
    }

    .banner-card--playday__text {
        text-align: center;
        font-size: 18px;
    }

    .banner-card--playday__title {
        font-size: 28px;
        text-align: center;
    }

    .banner-card--playday__desc {
        font-size: 18px;
        line-height: 24px;
        text-align: center;
    }
    .banner-card--playday__desc .accent {
        padding-bottom: 10px;
        display: block;
    }

    .video-card .swiper-slide {
        flex-shrink: 0;
        width: 53%;
        max-width: 280px;
        box-sizing: border-box;
        padding: 0 5px;
    }
    .ts-tabs {
        padding: 0 10px 0;
        justify-content: flex-start;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 10px;
    }
    .ts-tabs::-webkit-scrollbar {
        display: none;
    }

    .ts-tab {
        min-height: 30px;
        padding: 5px 14px;
        border-top-left-radius: 15px;
        border-top-right-radius: 15px;
    }
    .ts-tab__icon {
        width: 40px;
        height: 40px;
    }
    .ts-tab__text {
        font-size: 16px;
        line-height: 1.2;
    }
}

.btn-trial-class__wrap {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    padding: 20px 0 0;
}
.btn-trial-class__wrap .btn-trial-class {
    display: inline-block;
    justify-self: start;
    width: auto;
    margin: 0 auto;
    padding: 10px 20px;
    background-color: #0490ff;
    border-radius: 30px;
    font-family: "Pretendard", "Noto Sans KR";
    font-size: 16px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    transition: all 0.3s ease-in-out;
}

.btn-trial-class__wrap .btn-trial-class span {
    color: #ffe372;
}

.btn-trial-class__wrap .btn-trial-class > i {
    margin-left: 5px;
    color: #ffe372;
}

.btn-trial-class__wrap .btn-trial-class:hover {
    background-color: #ffe372;
    color: #0066cc;
}

.btn-trial-class__wrap .btn-trial-class:hover span,
.btn-trial-class__wrap .btn-trial-class:hover > i {
    color: #0066cc;
}

@media (min-width: 768px) {
    .btn-trial-class__wrap .btn-trial-class {
        margin-right: 0;
    }
}

@media (min-width: 960px) {
    .btn-trial-class__wrap .btn-trial-class {
        grid-column: span 2;
        text-align: right;
    }
}
/* 리뷰이미지 모달 */
.playday-rw-modal[hidden] {
    display: none !important;
}

.playday-rw-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
}

.playday-rw-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(224, 224, 224, 0.5);
}

.playday-rw-modal__dialog {
    position: relative;
    overflow: hidden;
}

.playday-rw-modal__head {
    display: flex;
    justify-content: flex-end;
}

.playday-rw-modal__close {
    border: 0;
    cursor: pointer;
    color: #000;
    font-weight: 700;
    font-size: 5rem;
    background: none;
}

.playday-rw-modal__body {
    padding: 0;
}

.playday-rw-modal__body img {
    display: block;
    max-width: calc(100vw - 40px);
    max-height: 75vh;
    width: auto;
    height: auto;
    border-radius: 14px;
}

.playday-rw-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.js-playday-open-image {
    background-color: #fff;
}
