.privacy-notice {
    position: fixed;
    z-index: 80;
    right: max(24px, env(safe-area-inset-right));
    bottom: max(24px, env(safe-area-inset-bottom));
    width: min(400px, calc(100vw - 32px));
    max-height: calc(100vh - 48px);
    max-height: calc(100dvh - 48px);
    overflow-y: auto;
    box-sizing: border-box;
    padding: 20px;
    border: 1px solid #151817;
    border-top: 4px solid #ee8e76;
    background: #f4f1e9;
    color: #151817;
    box-shadow: 0 5px 18px rgb(21 24 23 / 10%);
    text-align: left;
}
.privacy-notice [hidden], .privacy-notice[hidden], .privacy-settings[hidden] {
    display: none !important;
}
.privacy-notice h2 {
    margin: 0 0 8px;
    color: inherit;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: none;
}
.privacy-notice p {
    margin: 0 0 14px;
    color: inherit;
    font-size: 13px;
    line-height: 1.55;
}
.privacy-notice-actions { display: flex; gap: 8px; margin-top: 14px; }
.privacy-notice-choice {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
    min-height: 44px;
    padding: 8px 15px;
    border: 1px solid #151817;
    border-radius: 0;
    background: #151817;
    color: #f4f1e9;
    font: inherit;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: none;
    cursor: pointer;
}
.privacy-notice-choice:hover {
    background: #ee8e76;
    color: #151817;
}
.privacy-notice-choice:focus-visible, .privacy-settings:focus-visible, .privacy-notice summary:focus-visible {
    outline: 2px solid #151817;
    outline-offset: 4px;
}
.privacy-notice details { margin-bottom: 8px; font-size: 12px; line-height: 1.5; }
.privacy-notice summary {
    box-sizing: border-box;
    min-height: 44px;
    padding: 13px 0;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}
.privacy-notice details p { margin-top: 10px; }
.privacy-notice a { color: inherit; text-decoration: underline; }
.privacy-notice > p > a {
    display: flex;
    align-items: center;
    box-sizing: border-box;
    min-height: 44px;
    padding: 8px 0;
}
.privacy-settings { padding: 0; border: 0; background: transparent; color: inherit; font: inherit; text-align: left; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
@media (max-width: 600px) {
    .privacy-notice {
        right: max(16px, env(safe-area-inset-right));
        bottom: max(16px, env(safe-area-inset-bottom));
        padding: 16px;
    }
}
@media print {
    .privacy-notice { display: none !important; }
}
