#interlir-permanent-link-notice[hidden] {
    display: none !important;
}

#interlir-permanent-link-notice {
    position: fixed;
    inset: 0;
    z-index: 2147483647;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: inherit;
}

#interlir-permanent-link-notice .il-link-notice__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(14, 15, 17, 0.58);
}

#interlir-permanent-link-notice .il-link-notice__dialog {
    position: relative;
    width: min(100%, 460px);
    background: #ffffff;
    color: #0e0f11;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 24px 70px rgba(14, 15, 17, 0.28);
}

#interlir-permanent-link-notice .il-link-notice__title {
    margin: 0 0 10px;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 700;
    color: #0e0f11;
}

#interlir-permanent-link-notice .il-link-notice__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: #3f4652;
}

#interlir-permanent-link-notice .il-link-notice__actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 22px;
}

#interlir-permanent-link-notice .il-link-notice__button {
    appearance: none;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 10px 18px;
    font: inherit;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
    cursor: pointer;
}

#interlir-permanent-link-notice .il-link-notice__button--secondary {
    background: #ffffff;
    color: #0e0f11;
    border-color: #d6dae1;
}

#interlir-permanent-link-notice .il-link-notice__button--primary {
    background: #0052ff;
    color: #ffffff;
    border-color: #0052ff;
}

#interlir-permanent-link-notice .il-link-notice__button:focus-visible,
#interlir-permanent-link-notice .il-link-notice__dialog:focus-visible {
    outline: 3px solid rgba(0, 82, 255, 0.28);
    outline-offset: 2px;
}

html.il-permanent-link-notice-open,
html.il-permanent-link-notice-open body {
    overflow: hidden;
}

@media (max-width: 480px) {
    #interlir-permanent-link-notice .il-link-notice__dialog {
        padding: 20px;
        border-radius: 16px;
    }

    #interlir-permanent-link-notice .il-link-notice__actions {
        flex-direction: column-reverse;
    }

    #interlir-permanent-link-notice .il-link-notice__button {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    #interlir-permanent-link-notice *,
    #interlir-permanent-link-notice *::before,
    #interlir-permanent-link-notice *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}