:root {
    --let_animation_time: .2s;
}

.popup-v-scope {
    position: absolute;
    z-index: -100;
    left: 0;
    top: 0;
    width: 0;
    height: 0;
    overflow: hidden;
}

.popup-loading {
    position: absolute;
    z-index: 10;
    left: 0;
    top: 0;
    display: none;
    width: 0; height: 0;
}

.popup-index {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    overflow: hidden;
    opacity: 1;
    transition: all var(--let_animation_time) linear 0s;
    height: calc(var(--vh, 1vh) * 100);
}

.popup-index[data-status='hidden'] {
    visibility: hidden;
    z-index: -100;
}

.popup-index[data-status='visible'] {
    visibility: visible;
    z-index: 1010;
}

.popup-index[data-animation='fadeOut'] {
    background: rgba(0, 0, 0, 0);
}

.popup-index[data-animation='fadeIn'] {
    background: rgba(0, 0, 0, .5);
}

.popup-index[data-animation='remove'] {
    opacity: 0;
}

.show-in-popup-index,
.popup-index .hide-in-popup-index {
    display: none !important;
}

.popup-index .show-in-popup-index {
    display: block !important;
}

.popup-fake-scroll {
    position: absolute;
    z-index: 1;
    left: -1px;
    right: -1px;
    top: -1px;
    bottom: -1px;
    overflow: auto;
    overscroll-behavior: contain;
    padding: 0 1px;
    scrollbar-width: none;
}

.popup-fake-scroll-hack:after {
    content: '';
    position: absolute;
    z-index: -1;
    left: -1px;
    right: -1px;
    top: -1px;
    bottom: -1px;
}

.popup-fake-hide {
    position: absolute;
    left: 0; right: 0;
    top: 0; bottom: 0;
    background: none;
    margin: 0;
    padding: 0;
    border: none;
    cursor: pointer;
}


