.cookie-notice {
    position: fixed;
    inset: auto 1rem max(1rem, env(safe-area-inset-bottom)) auto;
    z-index: 100;
    box-sizing: border-box;
    width: min(27rem, calc(100% - 2rem));
    padding: 1rem 1.25rem;
    background: #171717;
    color: #fff;
    border: 1px solid #777;
    border-radius: .5rem;
    box-shadow: 0 .5rem 2rem #0006;
}

.cookie-notice[hidden] { display: none; }

.cookie-notice h2 { margin: 0 0 .5rem; font-size: 1.125rem; }
.cookie-notice p { margin: 0 0 .75rem; font-size: 1rem; line-height: 1.45; }
.cookie-notice a { color: inherit; text-decoration: underline; }
.cookie-notice button {
    padding: .5rem .875rem;
    min-height: 44px;
    border: 1px solid #fff;
    border-radius: .25rem;
    background: #fff;
    color: #171717;
    font: inherit;
    cursor: pointer;
}

.cookie-notice :focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
