/* + header */
@media screen and (min-width: 767px){
    body:has(.gasWorkersBanner) .app-section{
        margin-top: -23px;
    }
    body:has(.gasWorkersBanner) .app-view__iframe{
        height: calc(100dvh - 150px);
    }
    body:has(.gasWorkersBanner ~ .marketLink-h) .app-section{
        margin-top: -23px;
    }
    body:has(.gasWorkersBanner ~ .marketLink-h) .app-view__iframe{
        height: calc(100dvh - 228px);
    }

}
@media screen and (max-width: 767px) {
    .header {
        position: static;
        padding-bottom: 0;
    }
    .header .wrap-h{
        display: none;
    }
    .header .marketLink-h{
        margin-bottom: 0;
    }
    /*.logo-h {*/
    /*    width: 80px;*/
    /*    height: 22px;*/
    /*}*/


    /*.nav-h {*/
    /*    display: none;*/
    /*}*/

    /*.enter-h {*/
    /*    border-radius: 0;*/
    /*    min-height: auto;*/
    /*    padding: 0;*/
    /*    width: 24px;*/
    /*    height: 24px;*/
    /*    font-size: 0;*/
    /*    background-color: transparent;*/
    /*    background-repeat: no-repeat;*/
    /*    background-position: center center;*/
    /*    background-size: contain;*/
    /*    background-image: url(/assets/icons/ic-user-brd-purple-22.svg);*/
    /*}*/
}


/* + app-section */
.app-section {
    padding-top: 40px;
    min-height: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.app-section .container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-image: url("/assets/img/bg-enter.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.app-view {
    background: #fff;
    width: 37vh;
    max-width: 390px;
    margin: 0;
    position: relative;
    border-radius: 44px;
}

@media screen and (min-width: 407px) {
    .app-view {
        min-width: 407px;
    }
}

.viewPlug {
    background-color: #fff;
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 16px 18px 0 18px;
    border-radius: 48px;
    color: rgb(65, 65, 65);
    overflow: hidden;
}

@media screen and (max-height: 750px) {
    .viewPlug {
        border-radius: 30px;
    }
}

.viewPlug .title {
    width: 100%;
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 16px;
    line-height: 42px;
}

.viewPlugBox {
    width: 100%;
    padding: 20px 14px 20px 24px;
    border-radius: 5px;
    border: 1px solid rgb(127, 69, 241);
    margin-bottom: 16px;
}

.viewPlugBox .viewPlugImg {
    height: 70px;
    max-width: 99px;
    margin-bottom: 16px;
}

.viewPlugBox .wrapTitle {
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: bold;
    line-height: 27px;
    width: 100%;
}

.viewPlugBox .textBox {
    width: 100%;
    font-size: 14px;
    line-height: 18px;
}

.viewPlugBottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding-bottom: 56px;
    text-align: center;
    font-size: 20px;
    line-height: 27px;
    color: rgb(127, 69, 241);
}

.app-view__notch {
    content: '';
    object-fit: contain;
    width: 48%;
    margin: auto;
    position: absolute;
    top: -2px;
    left: 0;
    right: 0;
    z-index: 4;
}

.app-view__iframe {
    position: relative;
    z-index: 2;
    width: 100%;
    height: calc(100dvh - 160px);
    max-height: 778px;
    top: 0;
    left: 0;
    border-radius: inherit;
}

.app-view__iframe iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    border: none;
}

.app-view:before {
    content: '';
    top: 50%;
    right: 50%;
    transform: translate(50%, -50%);
    width: 100%;
    height: 100%;
    border: 16px solid #000;
    position: absolute;
    border-radius: 65px;
}

@media screen and (max-height: 750px) {

    .app-view {
        margin: 0;
        border-radius: 24px;
    }

    .app-view:before {
        border-radius: 40px;
    }

    .app-view__iframe {
        height: calc(100dvh - 96px);
    }

}

@media screen and (max-height: 750px) {
    main {
        .app-section {
            margin: -56px 0;
        }
    }
}

@media screen and (max-width: 575px) {
    main{
        position: relative;
    }
    .app-view {
        position: absolute;
        z-index: 10;
        top: 0;
        left: 0;
        width: 100%;
        max-width: 100%;
        height: 100%;
        border-radius: 0;
    }

    .app-view__notch {
        display: none;
    }

    .app-view:before {
        display: none;
    }

    .app-view__iframe {
        height: 100%;
        max-height: 100%;
    }
}
