#root .hide-popup .popup,#root .hide-popup .popup-click-mask {
    display: none
}
#root.popup-present {
    overflow:hidden;
}
#root .popup ul {
    list-style-type: circle
}

#root .popup-overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1000
}

#root .popup-click-mask {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    background-color: var(--c-shade-b)
}

#root .popup {
    max-width: 510px;
    max-height: 95vh;
    overflow: auto;
    width: 100%;
    background-color: var(--c-background-a);
    border: 1px solid var(--c-white);
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 1000;
   border-radius:var(--r-border-radius-big);
    box-shadow: 2px 2px 3px var(--o-primary-h),-2px -2px 3px var(--o-primary-h);
    color:var(--c-black)
}

#root .popup-banner {
    position: sticky;
    top: 0
}

#root .popup-banner img {
    width: 100%;
    box-shadow: 0 2px 2px var(--c-shade-b);
    border-bottom: 1px solid var(--c-tint)
}

#root .popup img {
    width: 100%
}

#root .popup.with-title {
    overflow: hidden
}

#root .popup-buttons div {
    text-align: center
}

#root .popup-buttons div button {
    max-width: 100px;
    width: 100%;
    height: 36px;
    background-color: var(--o-green-b);
    margin-top: 5px
}

#root .popup-buttons button.close {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    margin: unset;
    border-bottom-left-radius: 50%;
    color: var(--c-black);
    background-color: var(--c-white);
    font-weight: 700
}

#root .popup-buttons {
    height: 0
}

#root .popup-buttons img {
    display: none
}

#root .popup-title {
    padding: 12px;
    min-height: 36px;
    text-align: center;
    background-color: var(--o-blue-b)
}

#root .mobile .popup {
    max-height: calc(100vh - 108px)
}

#root .mobile .popup {
    max-width: 95%
}

#root .popup-text {
    
}
#root .popup-text img {
    width:100%;
    height:auto;
}
.popup-text > p {
   padding:0px 10px
}
.popup-text > ol,
.popup-text > ul {
    padding-right:10px;
}
.popup-text >  p:has(img) {
    margin:0;
    padding:0;
}
#root .desktop .popup.with-title .popup-text {
    overflow: auto;
    max-height: calc(95vh - 142px)
}

#root .temp-notice div {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px
}

#root .temp-text {
    display: block;
    background-color: var(--o-primary-c)
}

#root .temp-text ul {
    list-style-type: circle
}
