.cookie-notice {
    position: fixed;
    z-index: 7;
    inset-inline-start: max(16px, env(safe-area-inset-left));
    bottom: max(16px, env(safe-area-inset-bottom));
    width: min(370px, calc(100% - 88px));
    max-height: 70vh;
    max-height: 70dvh;
    overflow: auto;
    padding: 15px 19px 13px;
    border: 1px solid #dcd9d5;
    border-radius: 10px;
    background: #fff;
    color: var(--ink);
    box-shadow: 0 5px 25px #28201b21;
}
.cookie-notice[hidden], .cookie-notice-status[hidden] { display: none; }
.cookie-notice h2 {
    margin: 0 35px 4px 0;
    font: 700 1rem/1.35 var(--font-body);
}
.cookie-notice p {
    margin: 0;
    color: #504e54;
    font-size: .86rem;
    line-height: 1.45;
}
.cookie-notice .cookie-notice-close {
    position: absolute;
    inset-inline-end: 6px;
    top: 5px;
    display: grid;
    place-items: center;
    width: 35px;
    height: 35px;
    padding: 0;
    border: 0;
    border-radius: 5px;
    color: #55535a;
    background: transparent;
    font: 400 1.55rem/1 var(--font-body);
}
.cookie-notice-close:hover { background: #f2f1ef; }
.cookie-notice-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px 16px;
    margin-top: 8px;
}
.cookie-notice-actions a, .cookie-notice-actions button {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    font-size: .8rem;
    font-weight: 650;
}
.cookie-notice-actions a, .cookie-notice-static a {
    color: var(--accent-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.cookie-notice-actions button {
    padding: 4px 12px;
    border: 1px solid #c7c4c1;
    border-radius: 5px;
    color: var(--ink);
    background: #fff;
}
.cookie-notice-actions button:hover { border-color: #625f5a; background: #f7f6f5; }
.cookie-notice .cookie-notice-status {
    margin-top: 6px;
    color: #812a0e;
}
.cookie-notice-static { margin: 10px 16px; font-size: .85rem; }
@media (max-width: 560px) {
    .cookie-notice {
        inset-inline-start: max(8px, env(safe-area-inset-left));
        bottom: max(8px, env(safe-area-inset-bottom));
        width: calc(100% - 76px);
        padding: 12px 13px 10px;
    }
    .cookie-notice p { font-size: .8rem; }
    .cookie-notice-actions { gap: 2px 12px; margin-top: 6px; }
}
@media print {
    .cookie-notice, .cookie-notice-static { display: none; }
}
