.vct-chapter-source-hidden {
    display: none !important;
}

.vct-chapter-section[hidden] {
    display: none !important;
}

.vct-chapter-section {
    animation: vctChapterFade .22s ease;
}

@keyframes vctChapterFade {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.vct-chapter-nav {
    position: relative;
    overflow: hidden;
    margin: 0 0 30px;
    padding: 18px;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 18px;
    background:
        radial-gradient(circle at top left, rgba(247,56,115,.13), transparent 42%),
        #111116;
    box-shadow: 0 14px 34px rgba(0,0,0,.26), inset 0 0 0 1px rgba(255,255,255,.018);
}

.vct-chapter-nav--bottom {
    margin: 34px 0 0;
}

.vct-chapter-nav::before {
    content: "";
    position: absolute;
    left: 0;
    top: 20px;
    width: 5px;
    height: 34px;
    border-radius: 0 999px 999px 0;
    background: linear-gradient(180deg,#f73873,#ff7aa5);
    box-shadow: 0 0 16px rgba(247,56,115,.32);
}

.vct-chapter-nav__topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 14px;
}

.vct-chapter-nav__status {
    color: #f73873;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.vct-chapter-nav__picker {
    display: flex;
    align-items: center;
    gap: 9px;
    color: #a9a9b4;
    font-size: 11px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.vct-chapter-nav__picker select {
    appearance: none;
    min-width: 210px;
    height: 36px;
    padding: 0 35px 0 12px;
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 9px;
    background:
        linear-gradient(45deg, transparent 50%, #f73873 50%) calc(100% - 16px) 14px/5px 5px no-repeat,
        linear-gradient(135deg, #f73873 50%, transparent 50%) calc(100% - 11px) 14px/5px 5px no-repeat,
        #0b0b0f;
    color: #fff;
    font-size: 12px;
    font-weight: 750;
    outline: none;
}

.vct-chapter-nav__picker select:focus {
    border-color: rgba(247,56,115,.75);
    box-shadow: 0 0 0 3px rgba(247,56,115,.12);
}

.vct-chapter-nav__controls {
    display: grid;
    grid-template-columns: minmax(132px, .65fr) minmax(0, 1.7fr) minmax(132px, .65fr);
    align-items: stretch;
    gap: 10px;
}

.vct-chapter-nav__button,
.vct-chapter-nav__current {
    min-height: 58px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(7,7,10,.66);
}

.vct-chapter-nav__button {
    appearance: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 14px;
    color: #fff;
    cursor: pointer;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .045em;
    transition: background .18s ease, border-color .18s ease, color .18s ease, transform .18s ease;
}

.vct-chapter-nav__button svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
    flex: 0 0 auto;
}

.vct-chapter-nav__button:hover:not(:disabled) {
    background: rgba(247,56,115,.13);
    border-color: rgba(247,56,115,.58);
    color: #fff;
    transform: translateY(-1px);
}

.vct-chapter-nav__button:disabled {
    opacity: .34;
    cursor: default;
}

.vct-chapter-nav__current {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 10px 18px;
    text-align: center;
    border-color: rgba(247,56,115,.28);
    background: linear-gradient(135deg, rgba(247,56,115,.11), rgba(7,7,10,.72) 55%);
}

.vct-chapter-nav__current span {
    margin-bottom: 5px;
    color: #a8a8b1;
    font-size: 10px;
    line-height: 1;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.vct-chapter-nav__current strong {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    color: #fff;
    font-family: "Oswald", sans-serif;
    font-size: 18px;
    line-height: 1.2;
    font-weight: 700;
    text-transform: none;
}

@media (max-width: 760px) {
    .vct-chapter-nav {
        margin-bottom: 22px;
        padding: 15px;
        border-radius: 15px;
    }

    .vct-chapter-nav--bottom {
        margin-top: 25px;
    }

    .vct-chapter-nav::before {
        top: 17px;
        height: 30px;
    }

    .vct-chapter-nav__topline {
        align-items: stretch;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 11px;
    }

    .vct-chapter-nav__picker {
        display: block;
    }

    .vct-chapter-nav__picker > span {
        display: none;
    }

    .vct-chapter-nav__picker select {
        width: 100%;
        min-width: 0;
        height: 40px;
        font-size: 13px;
    }

    .vct-chapter-nav__controls {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .vct-chapter-nav__current {
        grid-column: 1 / -1;
        grid-row: 1;
        min-height: 62px;
        padding: 10px 12px;
    }

    .vct-chapter-nav__button {
        min-height: 44px;
        padding: 0 10px;
        font-size: 11px;
    }

    .vct-chapter-nav__current strong {
        font-size: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .vct-chapter-section {
        animation: none;
    }
}
