/* FM-24 · волна исполнителя */

.vl {
    max-width: 920px;
    margin: 0 auto;
    padding: 18px 0 40px;
    font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
    color: #1b1830;
}

.vl-crumbs {
    font-size: 13px;
    color: #8f8ba6;
    margin-bottom: 18px;
}

.vl-crumbs a {
    color: #7c5cff;
    text-decoration: none;
}

/* ---------- шапка ---------- */

.vl-hero {
    display: flex;
    gap: 28px;
    padding: 26px;
    border-radius: 22px;
    background: linear-gradient(135deg,
                var(--vl-c1, #1b1730),
                var(--vl-c2, #241e42) 60%,
                var(--vl-c3, #2b2150));
    color: #fff;
    box-shadow: 0 20px 44px -22px var(--vl-shadow, rgba(30, 18, 70, .7));
    transition: background .9s ease, box-shadow .9s ease;
}

.vl-hero__cover {
    position: relative;
    flex: none;
}

.vl-hero__cover img {
    width: 220px;
    height: 220px;
    border-radius: 16px;
    object-fit: cover;
    box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .85);
    background: #100e1c;
}

.vl-live {
    position: absolute;
    left: 12px;
    top: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 11px;
    border-radius: 100px;
    background: rgba(255, 62, 92, .92);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.vl-live::before {
    content: '';
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #fff;
    animation: vlPulse 1.6s ease-in-out infinite;
}

@keyframes vlPulse {
    0%, 100% { opacity: 1 }
    50%      { opacity: .25 }
}

.vl-hero__info {
    flex: 1 1 auto;
    min-width: 0;
}

.vl-title {
    margin: 0;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: -.02em;
}

.vl-sub {
    margin: 10px 0 0;
    font-size: 14.5px;
    line-height: 1.55;
    color: #b7b1d6;
}

/* ---------- «сейчас играет» ---------- */

.vl-now__cover {
    grid-area: cover;
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    background: rgba(255, 255, 255, .08);
    transition: opacity .3s ease;
}

.vl-now__cover.is-swap { opacity: 0 }

.vl-now {
    display: grid;
    grid-template-columns: 1fr 64px;
    grid-template-areas:
        "label  cover"
        "track  cover"
        "artist cover"
        "bar    bar"
        "time   time";
    align-items: center;
    column-gap: 14px;
    margin-top: 20px;
    padding: 15px 17px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .07);
    border: 1px solid rgba(255, 255, 255, .1);
}

.vl-now__label  { grid-area: label }
.vl-now__track  { grid-area: track }
.vl-now__artist { grid-area: artist }
.vl-now .vl-bar { grid-area: bar }
.vl-now .vl-time { grid-area: time }

.vl-now__label {
    font-size: 11px;
    letter-spacing: .09em;
    text-transform: uppercase;
    color: #22d3ee;
    font-weight: 600;
}

.vl-now__track {
    margin-top: 7px;
    font-size: 18px;
    font-weight: 600;
}

.vl-now__artist {
    margin-top: 3px;
    font-size: 13.5px;
    color: #b0aacd;
}

.vl-bar {
    margin-top: 13px;
    height: 4px;
    border-radius: 3px;
    background: rgba(255, 255, 255, .16);
    overflow: hidden;
}

.vl-bar i {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--vl-accent, #7c5cff), var(--vl-accent2, #22d3ee));
    transition: background .9s ease;
    transition: width .5s linear;
}

.vl-time {
    display: flex;
    justify-content: space-between;
    margin-top: 6px;
    font-size: 12px;
    color: #9d97ba;
}

/* ---------- кнопка ---------- */

.vl-actions {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 18px;
    flex-wrap: wrap;
}

.vl-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 13px 26px;
    border: 0;
    border-radius: 100px;
    background: linear-gradient(135deg, var(--vl-accent, #7c5cff), var(--vl-accent2, #5b8cff));
    transition: background .9s ease, transform .12s ease;
    color: #fff;
    font: 600 15px/1 inherit;
    cursor: pointer;
    box-shadow: 0 12px 26px -10px rgba(124, 92, 255, .9);
    transition: transform .2s ease, box-shadow .2s ease;
}

.vl-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px -10px rgba(124, 92, 255, 1);
}

.vl-btn.is-playing {
    background: linear-gradient(135deg,
                var(--vl-btn1, #2b2450),
                var(--vl-btn2, #3a2f6b));
}

.vl-btn__icon {
    font-size: 13px;
}

.vl-hint {
    font-size: 12.5px;
    color: #9d97ba;
}

/* ---------- колонки ---------- */

.vl-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    margin-top: 26px;
}

.vl-h2 {
    margin: 0 0 12px;
    font-size: 17px;
    font-weight: 700;
}

.vl-list {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
}

.vl-list li {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 9px 11px;
    border-radius: 12px;
    background: #f6f5fb;
    margin-bottom: 8px;
}

.vl-list img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    flex: none;
    background: #e6e3f2;
}

.vl-list__title {
    font-size: 13.5px;
    font-weight: 600;
}

.vl-list__artist {
    font-size: 12px;
    color: #8b86a3;
    margin-top: 2px;
}

.vl-about p {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
    color: #5f5b78;
}

/* ---------- витрина волн ---------- */

.vl-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 18px;
    margin-top: 22px;
}

.vl-card {
    display: block;
    padding: 14px;
    border-radius: 16px;
    background: #f6f5fb;
    text-decoration: none;
    color: inherit;
    transition: transform .2s ease, box-shadow .2s ease;
}

.vl-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 30px -16px rgba(40, 26, 90, .45);
}

.vl-card img {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 12px;
    object-fit: cover;
    background: #e6e3f2;
}

.vl-card__name {
    margin-top: 11px;
    font-size: 15px;
    font-weight: 600;
}

.vl-card__meta {
    margin-top: 3px;
    font-size: 12.5px;
    color: #8b86a3;
}

/* ---------- мобильные ---------- */

@media (max-width: 760px) {
    .vl-hero {
        flex-direction: column;
        padding: 18px;
        gap: 18px;
    }

    .vl-hero__cover img {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        max-height: 320px;
    }

    .vl-title { font-size: 23px }
    .vl-cols  { grid-template-columns: 1fr; gap: 18px }
    .vl-btn   { width: 100%; justify-content: center }
    .vl-hint  { text-align: center; width: 100% }
}

/* ---------- топ-10 ---------- */

.vl-top {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* топ в две колонки — иначе половина экрана пустует */
.vl-top--two {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* читаем сверху вниз: слева места с первого по пятое, справа — с шестого */
    grid-auto-flow: column;
    grid-template-rows: repeat(5, auto);
    gap: 8px 16px;
}

.vl-top--two li { margin-bottom: 0 }

@media (max-width: 760px) {
    .vl-top--two {
        grid-template-columns: 1fr;
        grid-auto-flow: row;
        grid-template-rows: none;
    }
}

.vl-block { margin-top: 28px }

.vl-top li {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 8px 11px;
    border-radius: 12px;
    margin-bottom: 7px;
    background: #f6f5fb;
}

.vl-top li:nth-child(-n+3) {
    background: linear-gradient(135deg, #f0ecff, #eaf6ff);
}

.vl-top__num {
    flex: none;
    width: 22px;
    font-size: 14px;
    font-weight: 700;
    color: #a29de0;
    text-align: center;
}

.vl-top li:nth-child(-n+3) .vl-top__num {
    color: #7c5cff;
}

.vl-top img {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    object-fit: cover;
    flex: none;
    background: #e6e3f2;
}

.vl-top__info {
    min-width: 0;
}

/* ---------- факты о волне ---------- */

.vl-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.vl-facts span {
    padding: 5px 12px;
    border-radius: 100px;
    background: rgba(255, 255, 255, .09);
    border: 1px solid rgba(255, 255, 255, .1);
    font-size: 12.5px;
    color: #cfc9ea;
}

.vl-facts__rate {
    color: #ffd76a !important;
    border-color: rgba(255, 215, 106, .3) !important;
}

.vl-crumbs__cur { color: #8f8ba6 }
.vl-crumbs span { margin: 0 3px }

/* ---------- кнопки-иконки: избранное, отзывы, лайки ---------- */

.vl-vote { display: inline-flex; gap: 8px }

.vl-icon {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 15px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 100px;
    background: rgba(255, 255, 255, .06);
    color: #ded9f5;
    font: 600 13.5px/1 'Montserrat', 'Segoe UI', system-ui, sans-serif;
    text-decoration: none;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, transform .15s ease, color .2s ease;
}

.vl-icon:hover  { background: rgba(255, 255, 255, .12); color: #fff }
.vl-icon:active { transform: scale(.96) }

.vl-icon.is-on {
    background: rgba(124, 92, 255, .28);
    border-color: rgba(124, 92, 255, .6);
    color: #fff;
}

/* сердечко закрашивается, когда волна в избранном */
#vl-fav.is-on {
    background: rgba(255, 62, 92, .22);
    border-color: rgba(255, 62, 92, .55);
    color: #ff8098;
}

#vl-fav.is-on svg path { fill: currentColor }

.vl-icon--wide { padding: 11px 18px }

.vl-hint {
    margin-top: 12px;
    font-size: 12.5px;
    color: #9d97ba;
}

/* ---------- отзывы ---------- */

.vl-reviews {
    margin-top: 30px;
    padding: 24px;
    border-radius: 20px;
    background: #f8f7fc;
}

.vl-reviews__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
}

.vl-rate {
    display: flex;
    align-items: center;
    gap: 9px;
}

.vl-rate b { font-size: 22px }

.vl-stars {
    color: #ffb400;
    letter-spacing: 1px;
}

.vl-rate__cnt {
    font-size: 13px;
    color: #8b86a3;
}

.vl-form {
    margin: 16px 0 22px;
    padding: 18px;
    border-radius: 16px;
    background: #fff;
    border: 1px solid #ece9f7;
}

.vl-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.vl-form input,
.vl-form textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #e3dff2;
    border-radius: 12px;
    font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #2a2545;
    background: #fbfaff;
    resize: vertical;
}

.vl-form input:focus,
.vl-form textarea:focus {
    outline: none;
    border-color: #7c5cff;
    background: #fff;
}

.vl-form textarea {
    transition: height .25s ease;
}

/* до первого клика форма — одна строка: так она не пугает объёмом */
.vl-form.is-folded textarea {
    height: 48px;
    resize: none;
}

.vl-form:not(.is-folded) textarea { height: 104px }

.vl-form__more {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .3s ease, opacity .22s ease, margin-top .3s ease;
}

.vl-form:not(.is-folded) .vl-form__more {
    max-height: 280px;
    opacity: 1;
    margin-top: 12px;
}

.vl-form__more .vl-form__stars { margin-top: 12px }

.vl-form__stars {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-top: 12px;
    font-size: 13.5px;
    color: #6b6785;
}

.vl-form__stars > span { margin-right: 7px }

.vl-star {
    border: 0;
    background: none;
    font-size: 21px;
    line-height: 1;
    color: #d8d3ea;
    cursor: pointer;
    padding: 0 1px;
}

.vl-star.is-on { color: #ffb400 }

.vl-form__foot {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.vl-btn--sm {
    padding: 11px 22px;
    font-size: 14px;
}

.vl-form__note {
    font-size: 12.5px;
    color: #8b86a3;
}

.vl-form__note.is-ok { color: #17a34a }

.vl-reviews__list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.vl-reviews__list li {
    padding: 15px 17px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #ece9f7;
    margin-bottom: 10px;
}

.vl-review__head {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 13.5px;
}

.vl-review__head time {
    color: #a09bb5;
    font-size: 12.5px;
    margin-left: auto;
}

.vl-reviews__list p {
    margin: 8px 0 0;
    font-size: 14px;
    line-height: 1.6;
    color: #4a4663;
}

.vl-empty {
    margin: 0;
    font-size: 14px;
    color: #8b86a3;
}

/* ---------- текст и другие волны ---------- */

.vl-about {
    margin-top: 28px;
}

.vl-about p + p { margin-top: 12px }

.vl-others { margin-top: 30px }

@media (max-width: 760px) {
    .vl-actions    { gap: 8px }
    .vl-vote       { flex: 1 }
    .vl-vote .vl-icon { flex: 1; justify-content: center }
    .vl-icon--wide { width: 100%; justify-content: center }
    .vl-top--two   { grid-template-columns: 1fr }
    .vl-reviews   { padding: 17px; border-radius: 16px }
    .vl-form      { padding: 14px }
    .vl-form__row { grid-template-columns: 1fr }
}

/* ---------- витрина волн ---------- */

.vl-h1 {
    margin: 0 0 12px;
    font-size: 28px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -.02em;
}

.vl-lead {
    margin: 0 0 22px;
    font-size: 15px;
    line-height: 1.6;
    color: #5f5b78;
    max-width: 760px;
}

.vl-grid-artists { margin-bottom: 30px }

@media (max-width: 760px) {
    .vl-h1   { font-size: 22px }
    .vl-lead { font-size: 14px }
}

/* ================= движение: только осмысленное =================
   Никаких постоянных пульсаций и свечений. Двигается лишь то,
   что отражает реальное состояние: звук, время, действие. */

.vl-hero { position: relative; overflow: hidden }

.vl-hero__cover,
.vl-hero__info { position: relative; z-index: 1 }

/* спектр реального звука — рисуется по данным аудио, а не «для красоты» */
.vl-viz {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 74px;
    z-index: 0;
    opacity: 0;
    transition: opacity .6s ease;
    pointer-events: none;
}

.vl.is-playing .vl-viz { opacity: .5 }

.vl-viz canvas { display: block; width: 100%; height: 100% }

/* обложка: аккуратная смена кадра, без «дыхания» */
.vl-hero__cover img {
    transition: opacity .35s ease, filter .35s ease;
}

.vl-hero__cover img.is-swap {
    opacity: .35;
    filter: blur(8px);
}

/* точка «в эфире»: ровное затухание, а не мигалка */
.vl-live::before {
    animation: vlLive 2.4s cubic-bezier(.4, 0, .6, 1) infinite;
}

@keyframes vlLive {
    0%, 100% { opacity: 1 }
    50%      { opacity: .35 }
}

/* прогресс идёт равномерно, без рывков между обновлениями */
.vl-bar i { transition: width 1s linear }

/* кнопка: отклик на нажатие вместо постоянного свечения */
.vl-btn,
.vl-icon {
    transition: transform .16s cubic-bezier(.2, 0, .2, 1),
                background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.vl-btn:active,
.vl-icon:active { transform: scale(.97) }

.vl-btn__icon {
    display: inline-block;
    transition: transform .2s cubic-bezier(.2, 0, .2, 1);
}

.vl.is-playing .vl-btn__icon { transform: scale(.9) }

/* строки списков: подсветка без прыжков */
.vl-list li,
.vl-top li {
    transition: background .16s ease;
}

.vl-list li:hover,
.vl-top li:hover { background: #efecfa }

/* карточки волн */
.vl-card,
.volna-home__cover { transition: transform .25s cubic-bezier(.2, 0, .2, 1), box-shadow .25s ease }
.vl-card img,
.volna-home__cover img { transition: transform .4s cubic-bezier(.2, 0, .2, 1) }

/* появление контента — один короткий проход, без задержек-каскадов */
.vl-hero { animation: vlIn .4s cubic-bezier(.2, 0, .2, 1) both }

@keyframes vlIn {
    from { opacity: 0; transform: translateY(8px) }
    to   { opacity: 1; transform: none }
}

@media (prefers-reduced-motion: reduce) {
    .vl-hero, .vl-live::before, .vl-btn__icon { animation: none }
    .vl-hero { opacity: 1; transform: none }
    .vl-viz { display: none }
}

.vl-note {
    margin-top: 14px !important;
    padding-top: 14px;
    border-top: 1px solid #eceafa;
    font-size: 13.5px !important;
    color: #8b86a3 !important;
}

.vl-note a { color: #7c5cff; text-decoration: none }
.vl-note a:hover { text-decoration: underline }

/* ================= мобильная версия ================= */

@media (max-width: 760px) {
    .vl { padding: 12px 0 30px }

    .vl-crumbs { font-size: 12px; margin-bottom: 12px }

    /* шапка: текст обтекает обложку — иначе под ней остаётся пустое место */
    .vl-hero {
        display: block;
        padding: 16px;
        border-radius: 18px;
    }

    .vl-hero__cover {
        float: left;
        margin: 0 14px 8px 0;
        width: 92px;
    }

    .vl-hero__cover img {
        width: 92px;
        height: 92px;
        border-radius: 12px;
        aspect-ratio: auto;
        max-height: none;
    }

    .vl-live {
        left: 6px;
        top: 6px;
        padding: 3px 7px;
        font-size: 9px;
        gap: 4px;
    }

    .vl-hero__info { min-width: 0 }

    .vl-title { font-size: 19px; line-height: 1.25 }

    /* не flex: только так теги обтекают обложку и заполняют место под ней */
    .vl-facts {
        display: block;
        gap: 0;
        margin-top: 9px;
    }

    .vl-facts span {
        display: inline-block;
        margin: 0 6px 6px 0;
        padding: 4px 9px;
        font-size: 11px;
    }

    /* «сейчас играет» — всегда во всю ширину, не жмётся рядом с обложкой */
    .vl-now {
        clear: left;
        margin-top: 10px;
        padding: 12px 13px;
    }

    .vl-now__track { font-size: 16px }
    .vl-now__artist { font-size: 12.5px }

    /* кнопки: играть на всю ширину, остальные в ряд */
    .vl-actions {
        flex: 1 1 100%;
        order: 4;
        gap: 8px;
        margin-top: 12px;
    }

    .vl-btn {
        width: 100%;
        justify-content: center;
        padding: 15px 20px;
        font-size: 15px;
    }

    .vl-icon {
        flex: 1;
        justify-content: center;
        padding: 11px 8px;
        font-size: 13px;
    }

    .vl-icon--wide { flex: 1 1 100% }

    .vl-hint { flex: 1 1 100%; order: 5; text-align: center; margin-top: 8px }

    /* спектр звука: ниже и тусклее, чтобы не спорил с текстом */
    .vl-viz { height: 56px }
    .vl.is-playing .vl-viz { opacity: .38 }

    /* списки */
    .vl-h2 { font-size: 16px; margin-bottom: 10px }
    .vl-block { margin-top: 22px }
    .vl-cols { gap: 4px }

    .vl-list li,
    .vl-top li { padding: 8px 10px }

    .vl-list img { width: 36px; height: 36px }
    .vl-top img { width: 34px; height: 34px }

    .vl-list__title { font-size: 13px }
    .vl-list__artist { font-size: 11.5px }

    /* отзывы */
    .vl-reviews { padding: 15px; border-radius: 14px; margin-top: 22px }
    .vl-reviews__head { gap: 8px }
    .vl-rate b { font-size: 19px }
    .vl-form { padding: 13px; border-radius: 13px }
    .vl-form input, .vl-form textarea { padding: 11px 12px; font-size: 15px }
    .vl-form__foot { gap: 10px }
    .vl-btn--sm { width: 100%; justify-content: center }
    .vl-form__note { width: 100%; text-align: center }

    .vl-review__head { font-size: 13px }
    .vl-review__head time { margin-left: 0; width: 100% }

    /* тексты */
    .vl-about p { font-size: 14px; line-height: 1.65 }
    .vl-note { font-size: 12.5px !important }

    /* карточки других волн */
    .vl-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px }
    .vl-card { padding: 10px }
    .vl-card__name { font-size: 13.5px; margin-top: 8px }
}

/* совсем узкие экраны */
@media (max-width: 380px) {
    .vl-hero__cover { width: 74px; margin-right: 12px }
    .vl-hero__cover img { width: 74px; height: 74px }
    .vl-title { font-size: 17px }
    .vl-icon { font-size: 12px; padding: 10px 6px }
    .vl-grid { grid-template-columns: 1fr 1fr }
}

/* ---------- рубрики на витрине ---------- */

.vl-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 24px;
}

.vl-tabs a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 15px;
    border-radius: 100px;
    background: #f2f0fa;
    color: #4a4663;
    font-size: 13.5px;
    font-weight: 600;
    text-decoration: none;
    transition: background .2s ease, color .2s ease;
}

.vl-tabs a:hover { background: #e6e1f8; color: #4a3aa8 }

.vl-tabs b {
    font-size: 12px;
    font-weight: 700;
    color: #9c96bd;
}

.vl-genre { margin-bottom: 28px; scroll-margin-top: 20px }

.vl-genre .vl-h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.vl-genre .vl-h2::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, #e6e1f8, transparent);
}

@media (max-width: 760px) {
    .vl-tabs { gap: 6px; margin-bottom: 18px }
    .vl-tabs a { padding: 8px 12px; font-size: 12.5px }
    .vl-genre { margin-bottom: 22px }
}

/* жанр в чипах — ссылка на рубрику витрины */
.vl-facts a {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px dotted rgba(255, 255, 255, .35);
}

.vl-facts a:hover { color: #fff; border-bottom-color: rgba(255, 255, 255, .8) }


/* Переключатель показа звука: столбики → волна → выключено. */
.vl-viz-mode {
    position: absolute;
    right: 14px;
    bottom: 12px;
    z-index: 3;
    min-width: 44px;
    height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .82);
    font-size: 12px;
    letter-spacing: .06em;
    cursor: pointer;
    transition: background .16s ease, color .16s ease;
}

.vl-viz-mode:hover {
    background: rgba(255, 255, 255, .2);
    color: #fff;
}

@media (max-width: 760px) {
    .vl-viz-mode { right: 10px; bottom: 8px; height: 26px; font-size: 11px }
}


/* подзаголовки внутри рассказа о волне и блок частых вопросов */
.vl-h3 {
    margin: 26px 0 10px;
    font-size: 19px;
    font-weight: 600;
    line-height: 1.3;
}

.vl-faq {
    margin-top: 30px;
}

.vl-faq .vl-h3 {
    margin-bottom: 14px;
}

/*
    Вопросы раскрываются штатным <details>: работает без скриптов,
    поиск видит ответы, а человеку не приходится читать простыню.
*/
.vl-faq__item {
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 12px;
    background: rgba(255, 255, 255, .55);
    margin-bottom: 10px;
    overflow: hidden;
    transition: border-color .18s ease, box-shadow .18s ease;
}

.vl-faq__item:hover {
    border-color: rgba(108, 92, 231, .35);
}

.vl-faq__item[open] {
    border-color: rgba(108, 92, 231, .3);
    box-shadow: 0 6px 18px rgba(60, 50, 120, .07);
}

.vl-faq__q {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 18px;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.4;
    cursor: pointer;
    list-style: none;
    user-select: none;
}

/* треугольник браузера убираем — рисуем свой знак */
.vl-faq__q::-webkit-details-marker { display: none }
.vl-faq__q::marker { content: '' }

.vl-faq__sign {
    position: relative;
    flex: none;
    width: 22px;
    height: 22px;
    margin-left: auto;
    border-radius: 50%;
    background: rgba(108, 92, 231, .12);
    transition: transform .22s ease, background .18s ease;
}

.vl-faq__sign::before,
.vl-faq__sign::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 2px;
    border-radius: 2px;
    background: #6c5ce7;
    transform: translate(-50%, -50%);
    transition: opacity .2s ease;
}

.vl-faq__sign::after {
    transform: translate(-50%, -50%) rotate(90deg);
}

.vl-faq__item[open] .vl-faq__sign {
    background: rgba(108, 92, 231, .2);
}

/* открыт — плюс превращается в минус */
.vl-faq__item[open] .vl-faq__sign::after {
    opacity: 0;
}

/* плавное раскрытие: строка сетки растёт от нуля к содержимому */
.vl-faq__wrap {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .24s ease;
}

.vl-faq__item[open] .vl-faq__wrap {
    grid-template-rows: 1fr;
}

.vl-faq__a {
    overflow: hidden;
    padding: 0 18px;
    color: #56526b;
    line-height: 1.6;
}

.vl-faq__item[open] .vl-faq__a {
    padding-bottom: 16px;
}

@media (prefers-reduced-motion: reduce) {
    .vl-faq__wrap { transition: none }
}

/*
    Длинный рассказ о волне подрезаем: сначала видно начало, дальше —
    по кнопке. Текст при этом остаётся в разметке целиком.
*/
.vl-text {
    position: relative;
    max-height: 330px;
    overflow: hidden;
    transition: max-height .45s ease;
}

.vl-text::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 110px;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(247, 246, 251, 0), rgba(247, 246, 251, .96));
    transition: opacity .3s ease;
}

.vl-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    padding: 10px 20px;
    border: 1px solid rgba(108, 92, 231, .35);
    border-radius: 999px;
    background: rgba(108, 92, 231, .07);
    color: #6c5ce7;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease;
}

.vl-more:hover {
    background: rgba(108, 92, 231, .14);
    border-color: rgba(108, 92, 231, .5);
}

.vl-more::before {
    content: 'Читать полностью';
}

.vl-more::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translate(-2px, -2px);
    transition: transform .22s ease;
}

/* развернули — текст целиком, дымка убрана, стрелка смотрит вверх */
.vl-more__box:checked ~ .vl-text {
    max-height: 4000px;
}

.vl-more__box:checked ~ .vl-text::after {
    opacity: 0;
}

.vl-more__box:checked ~ .vl-more::before {
    content: 'Свернуть';
}

.vl-more__box:checked ~ .vl-more::after {
    transform: rotate(-135deg) translate(-2px, -2px);
}

@media (prefers-reduced-motion: reduce) {
    .vl-text { transition: none }
}
