/* จุดโฟกัสเมื่อเข้าหน้าเล่น / รีเฟรช */
#movie-play-main {
    scroll-margin-top: var(--main-offset-top, 0px);
}

/* หน้าเล่น — ไม่ใช้กรอบ/padding ของ .movie-details-container (ต่างจากหน้ารายละเอียด) */
#movie-play-main.movie-details-container {
    padding: 0;
    background: transparent;
    border-radius: 0;
}

/* หัวข้อหน้าเล่น — โทนเดียวกับหน้าสมาชิก */
#movie-play-main .movie-play-heading.movie-details-heading {
    text-align: left;
    background:
        linear-gradient(145deg, rgba(43, 140, 255, 0.18) 0%, transparent 48%),
        linear-gradient(220deg, rgba(120, 20, 30, 0.28) 0%, transparent 52%),
        linear-gradient(180deg, rgba(14, 20, 32, 0.96) 0%, rgba(10, 12, 18, 0.98) 100%);
    border: 1px solid rgba(103, 232, 255, 0.2);
    border-radius: 14px;
    padding: 0;
    margin-bottom: 0.65rem;
    overflow: hidden;
}

#movie-play-main .movie-play-heading-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 0.55rem;
    align-items: start;
    padding: clamp(0.65rem, 2vw, 1rem) clamp(0.7rem, 2.5vw, 1.1rem);
    box-sizing: border-box;
}

#movie-play-main .movie-play-heading-text {
    min-width: 0;
}

#movie-play-main .movie-play-heading-text h1 {
    font-size: clamp(0.88rem, 2.4vw, 1.15rem) !important;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    padding: 0;
    color: #f1f5f9 !important;
    word-break: break-word;
    overflow-wrap: anywhere;
    hyphens: auto;
}

#movie-play-main .movie-play-episode-label {
    display: inline-block;
    margin: 0.35rem 0 0;
    padding: 0.15rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.3;
    color: #8df7ff;
    background: rgba(43, 140, 255, 0.15);
    border: 1px solid rgba(103, 232, 255, 0.28);
    border-radius: 999px;
    max-width: 100%;
}

#movie-play-main .movie-play-heading-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    width: 100%;
    min-width: 0;
}

#movie-play-main .member-play-top-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    width: 100%;
    min-width: 0;
}

#movie-play-main .member-play-top-row .movie-member-btn--heading {
    width: auto;
    flex: 0 0 auto;
    min-width: 0;
    min-height: auto;
    padding: 0.35rem 0.65rem;
    white-space: nowrap;
}

#movie-play-main .member-play-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin: 0;
    padding: 0.4rem 0.7rem;
    font-size: 0.72rem;
    font-weight: 600;
    line-height: 1.3;
    color: #06111d;
    background: linear-gradient(135deg, #67e8ff 0%, #2b8cff 100%);
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(43, 140, 255, 0.25);
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    text-align: left;
}

#movie-play-main .member-play-badge--vip {
    color: #fff8e7;
    background: linear-gradient(135deg, #fcd34d 0%, #d97706 55%, #92400e 100%);
    box-shadow: 0 2px 10px rgba(217, 119, 6, 0.35);
}

#movie-play-main .member-play-badge--private {
    color: #e8f7ff;
    background: linear-gradient(135deg, #5eead4 0%, #0891b2 50%, #0e7490 100%);
    box-shadow: 0 2px 10px rgba(8, 145, 178, 0.35);
}

#movie-play-main .member-play-quick-nav {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.45rem;
    flex: 0 0 auto;
}

#movie-play-main .member-play-quick-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.3rem;
    min-height: 2rem;
    padding: 0.3rem 0.55rem;
    font-size: 0.7rem;
    font-weight: 600;
    line-height: 1.25;
    color: #e2e8f0;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid rgba(148, 163, 184, 0.35);
    background: rgba(15, 23, 36, 0.75);
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    box-sizing: border-box;
    white-space: nowrap;
}

#movie-play-main .member-play-quick-link:hover {
    color: #fff;
    border-color: rgba(103, 232, 255, 0.45);
    background: rgba(43, 140, 255, 0.18);
}

#movie-play-main .member-play-quick-link--notif {
    color: #fde68a;
    border-color: rgba(251, 191, 36, 0.35);
    background: rgba(251, 191, 36, 0.08);
}

#movie-play-main .member-play-quick-link--notif:hover {
    color: #fff;
    border-color: rgba(251, 191, 36, 0.55);
    background: rgba(251, 191, 36, 0.16);
}

#movie-play-main .member-play-quick-link--mail {
    color: #c5e8ff;
    border-color: rgba(56, 189, 248, 0.35);
    background: rgba(56, 189, 248, 0.08);
}

#movie-play-main .member-play-quick-link--mail:hover {
    color: #fff;
    border-color: rgba(125, 211, 252, 0.55);
    background: rgba(56, 189, 248, 0.16);
}

#movie-play-main .member-play-quick-icon {
    flex-shrink: 0;
    line-height: 1;
    font-size: 0.85rem;
}

#movie-play-main .member-play-quick-icon--svg {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#movie-play-main .member-play-quick-icon--svg svg {
    display: block;
    width: 1.125rem;
    height: 1.125rem;
}

#movie-play-main .member-play-quick-label {
    min-width: 0;
}

#movie-play-main .member-play-quick-badge {
    position: absolute;
    top: -0.35rem;
    right: -0.35rem;
    min-width: 1.05rem;
    height: 1.05rem;
    padding: 0 0.2rem;
    font-size: 0.62rem;
    font-weight: 700;
    line-height: 1.05rem;
    text-align: center;
    color: #fff;
    background: #ef4444;
    border-radius: 999px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
    box-sizing: border-box;
}

#movie-play-main .member-play-badge-icon {
    flex-shrink: 0;
    font-size: 0.95rem;
    line-height: 1;
}

#movie-play-main .member-play-badge-body {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.1rem;
    min-width: 0;
}

#movie-play-main .member-play-badge-label {
    min-width: 0;
    word-break: break-word;
    overflow-wrap: anywhere;
    font-size: 0.74rem;
    font-weight: 700;
    line-height: 1.25;
}

#movie-play-main .member-play-badge-sub {
    font-size: 0.62rem;
    font-weight: 600;
    line-height: 1.2;
    opacity: 0.92;
    word-break: break-word;
}

#movie-play-main .movie-member-bar {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.4rem;
    margin: 0;
    width: 100%;
}

#movie-play-main .movie-member-bar:has(.movie-member-btn--fav[hidden]) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

#movie-play-main .movie-member-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.4rem 0.55rem;
    font-family: inherit;
    font-size: clamp(0.68rem, 2.8vw, 0.75rem);
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    white-space: normal;
    text-align: center;
    min-width: 0;
    width: 100%;
    min-height: 2.35rem;
    box-sizing: border-box;
}

#movie-play-main .movie-member-btn-icon {
    flex-shrink: 0;
    line-height: 1;
}

#movie-play-main .movie-member-btn-text {
    min-width: 0;
    word-break: break-word;
    overflow-wrap: anywhere;
}

#movie-play-main .movie-member-btn--fav {
    color: #fde68a;
    background: rgba(255, 215, 0, 0.08);
    border-color: rgba(255, 215, 0, 0.35);
}

#movie-play-main .movie-member-btn--fav:hover,
#movie-play-main .movie-member-btn--fav.is-favorited {
    color: #fff;
    background: rgba(255, 215, 0, 0.18);
    border-color: rgba(255, 215, 0, 0.55);
}

#movie-play-main .movie-member-btn--history {
    color: #d8f3ff;
    background: rgba(56, 189, 248, 0.1);
    border-color: rgba(56, 189, 248, 0.35);
}

#movie-play-main .movie-member-btn--history:hover {
    color: #fff;
    background: rgba(56, 189, 248, 0.2);
    border-color: rgba(125, 211, 252, 0.55);
}

#movie-play-main .movie-member-btn--account {
    color: #c5e8ff;
    background: rgba(43, 140, 255, 0.12);
    border-color: rgba(103, 232, 255, 0.35);
}

#movie-play-main .movie-member-btn--account:hover {
    color: #fff;
    background: rgba(43, 140, 255, 0.22);
    border-color: rgba(103, 232, 255, 0.55);
}

#movie-play-main .movie-member-btn--login {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(148, 163, 184, 0.35);
}

#movie-play-main .movie-member-btn--login:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(148, 163, 184, 0.5);
}

#movie-play-main .movie-member-btn--signup {
    color: #06111d;
    background: linear-gradient(135deg, #67e8ff 0%, #2b8cff 100%);
    border-color: transparent;
}

#movie-play-main .movie-member-btn--signup:hover {
    color: #06111d;
    filter: brightness(1.08);
}

@media (min-width: 768px) {
    #movie-play-main .movie-play-heading-inner {
        grid-template-columns: minmax(0, 1fr) minmax(10rem, auto);
        gap: 0.65rem 1rem;
        align-items: start;
    }

    #movie-play-main .movie-play-heading-actions {
        width: auto;
        max-width: min(100%, 26rem);
        align-items: flex-end;
    }

    #movie-play-main .member-play-top-row {
        flex-wrap: nowrap;
        justify-content: flex-end;
    }

    #movie-play-main .member-play-badge {
        width: auto;
        max-width: 100%;
        border-radius: 999px;
        flex: 0 1 auto;
    }

    #movie-play-main .member-play-badge-label {
        white-space: nowrap;
    }

    #movie-play-main .member-play-quick-nav {
        flex-shrink: 0;
    }

    #movie-play-main .movie-member-bar {
        width: auto;
        max-width: 100%;
        justify-content: flex-end;
    }

    #movie-play-main .movie-member-btn {
        width: auto;
        min-width: 6.25rem;
        white-space: nowrap;
    }

    #movie-play-main .movie-member-btn-text {
        white-space: nowrap;
        word-break: normal;
    }
}

@media (max-width: 380px) {
    #movie-play-main .movie-member-bar:not(.movie-member-bar--switch-bar) {
        grid-template-columns: minmax(0, 1fr);
    }
}

.switch-bar {
    width: 100%;
    min-height: 48px;
    background: #1a1e21;
    margin-bottom: 18px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem 0.75rem;
    padding: 0.4rem 10px;
}

.switch-bar-start {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

#movie-play-main .movie-play-switch-bar-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 0.45rem;
    margin-left: auto;
    min-width: 0;
    max-width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 0.1rem 0;
}

#movie-play-main .member-play-top-row--badge-only {
    width: 100%;
    justify-content: flex-start;
}

#movie-play-main .movie-play-switch-bar-actions::-webkit-scrollbar {
    display: none;
}

#movie-play-main .movie-member-bar--switch-bar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 0.45rem;
    width: auto;
    max-width: none;
    flex-shrink: 0;
    margin: 0;
    padding-left: 0.45rem;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    grid-template-columns: unset;
}

#movie-play-main .switch-bar .member-play-quick-nav {
    flex-shrink: 0;
}

#movie-play-main .switch-bar .member-play-quick-link {
    padding: 0.35rem 0.65rem;
    font-size: 0.78rem;
    min-height: 34px;
    box-sizing: border-box;
}

#movie-play-main .movie-play-guest-auth {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 0.4rem 0.5rem;
    margin-left: auto;
    min-width: 0;
}

#movie-play-main .movie-play-guest-auth-hint {
    font-size: 0.72rem;
    line-height: 1.25;
    color: rgba(148, 163, 184, 0.92);
    white-space: nowrap;
    padding-right: 0.25rem;
    border-right: 1px solid rgba(148, 163, 184, 0.25);
    margin-right: 0.15rem;
}

#movie-play-main .switch-bar .movie-member-btn {
    padding: 0.35rem 0.65rem;
    font-size: 0.8rem;
    min-height: 34px;
    min-width: 0;
    width: auto;
}

#movie-play-main .movie-member-bar--switch-bar .movie-member-btn-text--short {
    display: none;
}

@media (max-width: 767px) {
    #movie-play-main .movie-play-guest-auth-hint {
        display: none;
    }

    #movie-play-main .switch-bar {
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 0.35rem 0.5rem;
        padding: 0.5rem 8px;
    }

    #movie-play-main .switch-bar-start {
        flex-shrink: 0;
    }

    #movie-play-main .movie-member-bar--switch-bar .movie-member-btn-text--full {
        display: none;
    }

    #movie-play-main .movie-member-bar--switch-bar .movie-member-btn-text--short {
        display: inline;
        font-size: 0.74rem;
    }

    #movie-play-main .switch-bar .movie-member-btn-icon {
        font-size: 0.92rem;
    }

    #movie-play-main .movie-play-guest-auth {
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
        max-width: none;
        margin-left: 0;
        justify-content: flex-end;
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    #movie-play-main .movie-play-guest-auth::-webkit-scrollbar {
        display: none;
    }

    #movie-play-main .switch-bar .member-play-quick-label {
        display: none;
    }

    #movie-play-main .movie-play-switch-bar-actions {
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
        max-width: none;
        margin-left: 0;
        justify-content: flex-end;
    }

    #movie-play-main .movie-member-bar--switch-bar {
        width: auto;
        flex: 0 0 auto;
        justify-content: flex-end;
    }

    #movie-play-main .switch-bar .movie-member-btn {
        flex: 0 0 auto;
    }

    #movie-play-main .switch-bar .member-play-quick-link {
        padding: 0.35rem 0.55rem;
        min-width: 2.5rem;
    }
}

/**
 * Sub-Dub switch
 */
.subdub-switch {
    position: relative;
    display: inline-block;
    width: 100px;
    height: 34px;
    cursor: pointer;
}

.subdub-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.subdub-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #0d6efd;
    -webkit-transition: .4s;
    transition: .4s;
}

.subdub-slider:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .subdub-slider {
    background-color: #50c039;
}

input:focus + .subdub-slider {
    box-shadow: 0 0 1px #50c039;
}

input:checked + .subdub-slider:before {
    -webkit-transform: translateX(64px);
    -ms-transform: translateX(64px);
    transform: translateX(64px);
}

input:checked + .subdub-slider + .subdub-desc span:nth-child(1) {
    display: none;
}
input:checked + .subdub-slider + .subdub-desc span:nth-child(2) {
    display: block;
    position: relative;
    left: -20px;
}
input + .subdub-slider + .subdub-desc span:nth-child(1) {
    display: block;
}
input + .subdub-slider + .subdub-desc span:nth-child(2) {
    display: none;
}

.subdub-desc {
    position: absolute;
    top: 0;
    right: 10px;
    width: 64px;
    height: 34px;
    text-align: center;
    line-height: 2.2em;
    color: #fff;
    font-size: 16px;
}

/* Rounded sliders */
.subdub-slider.subdub-round {
    border-radius: 34px;
}

.subdub-slider.subdub-round:before {
    border-radius: 50%;
}

.switch-container {
    width: 100%;
    max-width: 1024px;
    height: auto;
    margin: 10px auto;
    box-sizing: border-box;
}

#movie-play-main .player-container-outer {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
    aspect-ratio: unset;
    min-height: 0;
    height: auto;
    background: #000;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    outline: none;
    box-shadow: none;
}

#movie-play-main .player-container {
    position: relative;
    width: 100%;
    max-width: min(1600px, 100%);
    margin-inline: auto;
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: clamp(200px, 52vw, calc(100dvh - var(--main-offset-top, 96px) - 200px));
    background: #000;
    box-sizing: border-box;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    outline: none;
    box-shadow: none;
}

#movie-play-main .player-container .movie-player-iframe,
#movie-play-main .player-container > iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    border: 0 !important;
    outline: 0;
    margin: 0;
    padding: 0;
    background: #000;
    overflow: hidden;
    box-shadow: none;
    /* ตัดขอบ/แถบเลื่อนจาก embed ที่สูงกว่า 16:9 เล็กน้อย */
    transform: scale(1.008);
    transform-origin: center center;
}

/* จอใหญ่ / Smart TV — player กว้างเต็มพื้นที่อ่านสบาย */
@media (min-width: 1200px) {
    #movie-play-main .player-container {
        max-width: 100%;
        min-height: min(
            calc((100vw - 48px) * 9 / 16),
            calc(100dvh - var(--main-offset-top, 96px) - 180px)
        );
    }
}

@supports not (aspect-ratio: 16 / 9) {
    #movie-play-main .player-container {
        height: 0;
        padding-top: 56.25%;
        min-height: 0;
    }
    #movie-play-main .player-container .movie-player-iframe,
    #movie-play-main .player-container > iframe {
        position: absolute;
        top: 0;
        left: 0;
    }
}

.player-container {
    width: 100%;
    max-width: 1180px;
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 200px;
    background: black;
    box-sizing: border-box;
    position: relative;
}

.player-container-outer {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    height: auto;
    min-height: 200px;
    background: black;
    position: relative;
    box-sizing: border-box;
}

.player-banner-backdrop {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .3);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: end;
    justify-content: center;
    box-sizing: border-box;
}

.player-banner {
    width: min(700px, 100%);
    max-width: calc(100% - 16px);
    height: auto;
    margin-bottom: 12px;
    position: relative;
    box-sizing: border-box;
}

.player-banner a img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 86px;
    object-fit: contain;
}

.player-banner-close {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
}

/* ภาพแบนเนอร์ใต้เพลเยอร์ — อย่าเกินความกว้างจอมือถือ */
.movie-details-container .d-flex img {
    max-width: 100%;
    height: auto;
}

/* ซีรีส์: แจ้งก่อนเปลี่ยนตอนอัตโนมัติ */
.series-auto-next-overlay {
    position: absolute;
    inset: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-sizing: border-box;
    background: radial-gradient(ellipse 120% 90% at 50% 40%, rgba(32, 38, 46, 0.94) 0%, rgba(0, 0, 0, 0.88) 62%, rgba(0, 0, 0, 0.92) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    animation: series-auto-next-fade-in 0.38s ease-out;
}

@keyframes series-auto-next-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.series-auto-next-card {
    width: 100%;
    max-width: 360px;
    text-align: center;
    padding: clamp(1.35rem, 4.2vw, 2rem) clamp(1.25rem, 4vw, 1.85rem);
    border-radius: 18px;
    background: linear-gradient(165deg, rgba(48, 56, 66, 0.96) 0%, rgba(22, 26, 30, 0.98) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        0 22px 56px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(0, 0, 0, 0.35) inset,
        0 1px 0 rgba(255, 255, 255, 0.06) inset;
}

.series-auto-next-title {
    margin: 0 0 0.35rem;
    font-size: clamp(1.05rem, 3.8vw, 1.28rem);
    font-weight: 600;
    color: #f1f3f5;
    letter-spacing: 0.02em;
    line-height: 1.35;
}

.series-auto-next-sub {
    margin: 0 0 1rem;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.45;
}

.series-auto-next-count-wrap {
    margin: 0.25rem 0 1.1rem;
}

.series-auto-next-count {
    display: inline-block;
    min-width: 2ch;
    font-size: clamp(2.6rem, 11vw, 3.75rem);
    font-weight: 700;
    line-height: 1;
    font-variant-numeric: tabular-nums;
    color: #fff;
    text-shadow: 0 0 28px rgba(220, 53, 69, 0.45), 0 2px 12px rgba(0, 0, 0, 0.4);
    animation: series-auto-next-count-pulse 1s ease-in-out infinite;
}

@keyframes series-auto-next-count-pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.06);
        opacity: 0.95;
    }
}

.series-auto-next-count-label {
    display: block;
    margin-top: 0.35rem;
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
}

.series-auto-next-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.series-auto-next-cancel {
    margin: 0;
    padding: 0.45rem 1.1rem;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.series-auto-next-cancel:hover,
.series-auto-next-cancel:focus-visible {
    color: #fff;
    border-color: rgba(255, 255, 255, 0.35);
    background: rgba(255, 255, 255, 0.06);
    outline: none;
}