#codeRevealPopup[hidden],
#codePopupExpiry[hidden],
#codePopupStoreBtn[hidden] {
    display: none !important;
}

#codeRevealPopup {
    overflow-y: auto;
    padding: 20px;
    overscroll-behavior: contain;
}

#codeRevealPopup .uh-popup {
    max-height: calc(100dvh - 40px);
    overflow-y: auto;
}

#codePopupBox {
    display: block;
    width: 100%;
    font: inherit;
    color: inherit;
    cursor: pointer;
}

#codePopupBox > span,
#codePopupCode {
    display: block;
}

#codePopupCode {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    user-select: all;
    -webkit-user-select: all;
}

#codePopupStatus,
#codePopupOpenStatus {
    margin: 0 0 14px;
    font-size: 13px;
    line-height: 1.5;
    color: #475569;
}

#codePopupOpenStatus {
    margin-top: 12px;
}

#codeRevealPopup button:focus-visible,
#codeRevealPopup a:focus-visible {
    outline: 3px solid #be123c;
    outline-offset: 3px;
}

@media (max-width: 480px) {
    #codeRevealPopup { padding: 12px; }
    #codeRevealPopup .uh-popup { max-height: calc(100dvh - 24px); }
}
