.dl-privacy-policy {
    cursor: pointer;
    text-decoration: underline;
}

.dl-privacy-policy:hover {
    text-decoration: none;
}

.dl-privacy-policy-button,
.dl-privacy-policy-button:visited,
#eu-cookie-bar .dl-privacy-policy-button,
#eu-cookie-bar .dl-privacy-policy-button:visited {
    display: inline;
    margin: 0;
    padding: 0;
    border: 0;
    border-bottom: 0;
    border-radius: 0;
    background: none;
    background-image: none;
    box-shadow: none;
    color: var(--dl-pp-link-color, inherit);
    font: inherit;
    letter-spacing: inherit;
    line-height: inherit;
    text-align: inherit;
    text-transform: none;
    text-decoration: none;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    transition: opacity .2s ease;
}

.dl-privacy-policy-button:hover,
.dl-privacy-policy-button:focus,
.dl-privacy-policy-button:active,
#eu-cookie-bar .dl-privacy-policy-button:hover,
#eu-cookie-bar .dl-privacy-policy-button:focus,
#eu-cookie-bar .dl-privacy-policy-button:active {
    border-bottom: 0;
    background: none;
    background-image: none;
    box-shadow: none;
    color: var(--dl-pp-link-color, inherit);
    text-decoration: none;
    opacity: .7;
}

.dl-privacy-policy-button:focus {
    outline: none;
}

.dl-privacy-policy-button:focus-visible {
    outline: 1px dotted currentColor;
    outline-offset: 2px;
}

.dl-privacy-policy.dl-privacy-policy-button {
    text-decoration: none;
}

.dl-pp-modal {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;

    z-index: 2147483000;
}

.dl-pp-modal[hidden] {
    display: none;
}

.dl-pp-modal__overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, .6);
}

.dl-pp-modal__dialog {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 90%;
    max-width: 640px;
    max-height: 80vh;
    overflow: hidden;
    padding: 0;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(0, 0, 0, 0.04);
    animation: aw-modal-slide-up .3s cubic-bezier(.16, 1, .3, 1);
}

@keyframes aw-modal-slide-up {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .dl-pp-modal__dialog {
        animation: none;
    }
}

.dl-pp-modal__header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 24px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.dl-pp-modal__title {
    display: flex;
    align-items: center;
    margin: 0;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
    color: #1a1a1a;
}

.dl-pp-modal__content {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 20px 12px 20px 24px;
    font-size: 14px;
    line-height: 1.7;
    color: #444;
    scrollbar-width: thin;
}

.dl-pp-modal__content::-webkit-scrollbar {
    width: 6px;
}

.dl-pp-modal__content::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .25);
    border-radius: 3px;
}

.dl-pp-modal__content::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, .06);
    border-radius: 3px;
}

.dl-pp-modal__content a {
    text-decoration: underline;
}

.dl-pp-modal__content p {
    margin: 0 0 1em;
}

.dl-pp-modal__content h1,
.dl-pp-modal__content h2,
.dl-pp-modal__content h3,
.dl-pp-modal__content h4,
.dl-pp-modal__content h5,
.dl-pp-modal__content h6 {
    margin: 1.5em 0 .5em;
    line-height: 1.3;
}

.dl-pp-modal__content ul,
.dl-pp-modal__content ol {
    margin: 0 0 1em;
    padding-left: 1.5em;
}

.dl-pp-modal__content ul {
    list-style: disc;
}

.dl-pp-modal__content ol {
    list-style: decimal;
}

.dl-pp-modal__content li {
    margin-bottom: .35em;
}

.dl-pp-modal__content li:last-child {
    margin-bottom: 0;
}

.dl-pp-modal__content > :first-child {
    margin-top: 0;
}

.dl-pp-modal__content > :last-child {
    margin-bottom: 0;
}

.dl-pp-modal__content h1 { font-size: 20px; }
.dl-pp-modal__content h2 { font-size: 19px; }
.dl-pp-modal__content h3 { font-size: 18px; }
.dl-pp-modal__content h4 { font-size: 17px; }
.dl-pp-modal__content h5,
.dl-pp-modal__content h6 { font-size: 16px; }

.dl-pp-modal__close {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: none;
    border-radius: 8px;
    background: #f5f5f5;
    color: #666;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    outline: none;
    transition: background .15s, color .15s;
}

.dl-pp-modal__close:hover {
    background: #ebebeb;
    color: #1a1a1a;
}

.dl-pp-modal__close:focus {
    outline: none;
}

body.dl-pp-modal-open {
    overflow: hidden;
}

@media (max-width: 600px) {
    .dl-pp-modal {
        padding: 12px;
    }

    .dl-pp-modal__header {
        padding: 16px 16px 12px;
    }

    .dl-pp-modal__content {
        padding: 16px 8px 16px 16px;
    }
}
