/* Sofiya download-box CSS. */
.comment-form input[type=submit],.drawer-menu__close,.header-icon,.play-online,.quality-links a,.search-modal__close,.single-actions a {
    border: 0;
    border-radius: var(--radius-xs);
    cursor: pointer
}

.content-box,.details-grid div,.download-group,.empty-download,.season-box,.single-facts div,.single-hero__chips span {
    border: 1px solid var(--line)
}

.comments-box,.content-box,.download-box {
    border-radius: 10px;
    padding: 18px;
    box-shadow: var(--shadow)
}

.comment-content,.download-group,.empty-download,.entry-content,.entry-content p,.episode-row {
    line-height: 2.1;
    font-size: .86rem
}

.download-box {
    background: #15231c;
    border: 1px solid var(--line)
}

.empty-download {
    padding: 18px;
    border-radius: var(--radius-lg)
}

.download-group,.season-box {
    border-radius: var(--radius-xs);
    padding: 8px 12px
}

.download-group+.download-group,.season-box+.season-box {
    margin-top: 14px
}

.download-group__head,.episode-row__head,.season-box summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap
}

.download-group__title {
    font-size: 1rem;
    font-weight: 700
}

.download-group__meta,.episode-row__head span,.season-box summary span {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    color: var(--muted)
}

.play-online {
    margin-top: 14px
}

.quality-links {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px
}

.quality-links a {
    min-width: 100px;
    height: 46px
}

.season-box summary {
    cursor: pointer;
    list-style: none
}

.season-box summary::-webkit-details-marker {
    display: none
}

.episode-row {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line)
}

@media (max-width: 640px) {
.comments-box,.content-box,.download-box {
        padding: 14px;
        border-radius: var(--radius-lg)
    }

.download-group__head,.episode-row__head,.season-box summary,.site-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        align-items: center;
        gap: 34px;
    }
}

.comment-form input[type=submit],.drawer-menu__close,.play-online,.quality-links a,.search-modal__close,.single-actions a,.sofiya-vote-btn {
    background: #ffffff12;
    color: #fff;
    backdrop-filter: blur(var(--blur-lg))
}

.play-online,.quality-links a {
    background: #00da95;
    color: #000
}

.content-box::before,.hero-content-shell--single .single-body::before,.single-entry .download-box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none
}

.content-box,.hero-content-shell--single .single-body,.single-entry .download-box {
    position: relative;
    overflow: clip
}

.content-box,.hero-content-shell--single .single-body,.single-entry .download-accordion,.single-entry .download-box,.single-entry .download-item,.site-footer--immersive {
    background: linear-gradient(180deg,var(--glass-bg-1),var(--glass-bg-2));
    border: 1px solid var(--glass-line);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(var(--blur-5xl)) saturate(145%);
    -webkit-backdrop-filter: blur(var(--blur-5xl)) saturate(145%)
}

.content-box::before,.hero-content-shell--single .single-body::before,.single-entry .download-box::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(180deg,#00000014,#fff0 120px);
    pointer-events: none
}

.download-box__head {
    margin-bottom: 2rem;
}

.download-box__title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.content-box,.details-grid div,.single-entry .download-accordion,.single-entry .download-box,.single-entry .download-item {
    border-radius: var(--radius-xl)
}

#sofiya-download-box {
    scroll-margin-top: 34px
}

.sofiya-download-shell {
    display: grid;
    gap: 14px
}

.sofiya-download-panel__tools,.sofiya-download-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap
}

.sofiya-download-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap
}

.download-link-btn,.sofiya-download-tab,.sofiya-mini-tool {
    border: 1px solid #ffffff1f;
    background: #ffffff0f;
    color: #fff;
    border-radius: var(--radius-sm);
    padding: 4px 10px;
    cursor: pointer;
    text-decoration: none;
    transition: .2s ease
}

.download-link-btn:hover,.sofiya-download-tab.is-active {
    background: #00da95;
    color: #00da95;
    border-color: #00da95
}

.sofiya-download-panel,.sofiya-season-panel {
    display: none
}

.sofiya-download-panel.is-active,.sofiya-season-panel.is-active {
    display: grid;
    gap: 14px
}

.sofiya-download-link-list {
    display: grid;
    gap: 10px;
    margin-top: 12px
}

.sofiya-download-link-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    background: #ffffff0a;
    border: 1px solid #ffffff12
}

.sofiya-download-link-meta {
    display: grid;
    gap: 4px
}

.sofiya-download-link-meta strong {
    font-size: .98rem;
    color: #fff
}

.sofiya-download-link-meta span {
    font-size: .70rem;
    color: #ffffffad;
    text-transform: uppercase
}

.download-link-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap
}

.download-link-btn {
    padding: 8px 10px;
    font-size: .72rem;
    text-align: center
}

.download-link-btn.is-download {
    background: #00da95;
    color: #031a10;
    border-color: #00da95;
    width: 90px;
}

.download-link-btn.is-stream {
    background: #ffffff1a;
    width: 48px;
    margin-left: auto;
    justify-content: center;
    display: flex;
}

.download-link-btn.is-stream svg {
    width: 18px;
    height: 18px;
}

.download-info-note {
    margin-top: 10px;
    padding: 11px 14px;
    border-radius: var(--radius-sm);
    background: #00da9517;
    border: 1px solid #00da952e;
    color: #d7fff1;
    font-size: .9rem;
    line-height: 1.8
}

.episode-row__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 8px
}

.episode-row__head div {
    display: grid;
    gap: 4px
}

.download-group,.episode-row,.season-box {
    background: #ffffff0a;
    border: 1px solid #ffffff0f;
    border-radius: 15px;
    padding: 16px
}

.download-group__head {
    margin-bottom: 6px
}

.download-group__title {
    font-size: 1.05rem
}

.download-group__meta {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    font-size: .85rem;
    color: #ffffffb3
}

@media (max-width: 991px) {
.sofiya-download-tab,.sofiya-mini-tool {
        padding:10px 14px
    }

.sofiya-download-link-row {
        flex-direction: column;
        align-items: stretch
    }

.download-link-actions {
        width: 100%
    }

.download-link-btn {
        justify-content: center;
        display: inline-flex
    }

.download-box {
        padding: 18px
    }

.download-group,.episode-row,.season-box {
        padding: 14px
    }
}

.download-link-btn:hover {
    background: #ffffff0f;
    color: #00da95;
    border-color: #00da95
}

.sofiya-download-group__title {
    font-size: .8rem;
    margin: 0 12px 12px 0;
}

.sofiya-download-group__rows {
    display: flex;
    flex-direction: column;
    gap: 10px
}

.sofiya-download-shell--movie,.sofiya-download-shell--series {
    display: grid;
    gap: 16px
}

.sofiya-episode-chip__download,.sofiya-episode-chip__play,.sofiya-quality-btn {
    color: #fff;
    border-radius: var(--radius-pill);
    padding: 8px 14px;
    text-decoration: none;
    cursor: pointer;
    font-size: .72rem;
}

.sofiya-episode-chip__download {
    background: var(--green);
    border-radius: var(--radius-sm);
    color: #000;
    min-width: 84px;
    text-align: center;
}

.sofiya-episode-chip__download:hover {
    background: var(--bgdarkbox);
    border-radius: var(--radius-sm);
    color: #fff;
}

@media (max-width: 600px) {
.download-link-btn.is-download {
        width: 80px;
        font-size: 0.65rem;
        padding: 6px;
    }

.download-link-btn.is-stream {
        width: 40px;
        padding: 5px;
    }

.download-link-btn.is-stream svg {
        width: 16px;
        height: 16px;
    }

.download-box {
        padding: 10px;
    }
}

@media (max-width: 370px) {
.download-link-btn.is-download {
        width: 60px;
        font-size: 0.65rem;
        padding: 6px;
    }

.download-link-btn.is-stream {
        width: 38px;
        padding: 5px;
    }

.download-link-btn.is-stream svg {
        width: 16px;
        height: 16px;
    }

.download-box {
    }
}

#sofiya-download-box {
    scroll-margin-top: 96px
}

@media (max-width: 767px) {
#sofiya-download-box {
        scroll-margin-top:84px
    }
}

.sofiya-download-gate-notice{display:flex;align-items:center;gap:10px;margin:10px 0;color:#ffffffe0;font-size:13px;line-height:1.9}

.sofiya-download-gate-notice__icon{display:inline-grid;place-items:center;flex:0 0 28px;width:28px;height:28px;border-radius:50%;background:#ffffff14;color:#c9fff0}

.sofiya-download-gate-notice svg{width:18px;height:18px;color: #00e0a9;}

.sofiya-download-gate-cta{position:relative;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:flex-end;gap:4px;text-align:center}

.sofiya-download-gate-cta__buttons{display:flex;align-items:center;justify-content:end;gap:8px}

.sofiya-download-gate-btn{display:inline-flex;align-items:center;justify-content:center;min-width:70px;height:30px;padding:0 14px;border-radius:var(--radius-sm);font-size:.68rem;font-weight:400;text-decoration:none!important;transition:transform .18s ease,opacity .18s ease}

.sofiya-download-gate-btn:hover{background:var(--green);color:#000!important}

.sofiya-download-gate-btn--login{background:#00d18b;color:#03110d!important}

.sofiya-download-gate-btn--register{background:#ffffff1a;color:#fff!important;border:1px solid #ffffff2e}

.sofiya-download-gate-cta__hint{display:inline-flex;align-items:center;justify-content:center;gap:5px;color:#ffffffc2;font-size:10px;line-height:1.7}

.sofiya-download-gate-cta__hint span{display:inline-grid;place-items:center}

.sofiya-download-gate-cta__hint svg{width:13px;height:13px}

.sofiya-download-gate-cta--episodes .sofiya-download-gate-btn{min-width:92px;height:38px}

.download-link-btn.is-locked,.sofiya-icon-btn.is-locked{cursor:not-allowed!important}

.download-link-btn.is-locked{opacity:.85}

.sofiya-download-shell--series .sofiya-episode-group__body:has(.sofiya-episode-links--locked){padding:12px}

@media (max-width:768px) {
.sofiya-download-gate-notice{margin:12px 10px 14px;font-size:12px;align-items:flex-start}

.sofiya-download-gate-btn{min-width:70px;height:32px}

.sofiya-download-gate-cta__hint{font-size:9.5px}
}

.sofiya-download-gate-cta--row{width:100%}
