/*.tz-author-popup{
    display:none;
    position:fixed;
    inset:0;
    z-index:9999;
}

.tz-author-popup.active{
    display:block;
}*/

.tz-author-popup{
    position:fixed;
    inset:0;

    visibility:hidden;
    pointer-events:none;

    z-index:9999;
}

.tz-author-popup.active{
    visibility:visible;
    pointer-events:auto;
}

/*.tz-author-popup-overlay{
    position:absolute;
    inset:0;
    background:rgba(0,0,0,.75);
}*/

.tz-author-popup-overlay{
    position:absolute;
    inset:0;

    background:rgba(0,0,0,.75);

    opacity:0;
    transition:opacity .35s ease;
}

.tz-author-popup.active .tz-author-popup-overlay{
    opacity:1;
}

/*.tz-author-popup-content{
    position:relative;
    width:min(1000px,90vw);
    max-height:90vh;
    overflow-y:auto;

    background:#fff;

    margin:5vh auto;
    padding:30px;

    z-index:2;
}*/

.tz-author-popup-content{
    position:fixed;
    background:#fff;
    overflow-y:auto;
    padding:30px;
    z-index:2;
    border-radius:8px;
    box-shadow:
        0 20px 80px rgba(0,0,0,.25);
    transition:
        top .45s cubic-bezier(.22,.61,.36,1),
        left .45s cubic-bezier(.22,.61,.36,1),
        width .45s cubic-bezier(.22,.61,.36,1),
        height .45s cubic-bezier(.22,.61,.36,1);
    will-change:
        top,
        left,
        width,
        height;
}

.tz-author-popup-close{
    position:absolute;
    right:15px;
    top:10px;

    border:0;
    background:none;

    font-size:32px;
    line-height:1;

    cursor:pointer;
}

#tzAuthorPopupCard{
    top:0;
    left:0;
    width:0;
    height:0;
}