.cookie-notice {
    position: fixed;
    z-index: 95;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    color: var(--text);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, .18);
}
.cookie-notice[hidden], .cookie-notice-dismissed .cookie-notice { display: none; }
.cookie-notice-content { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; max-width: 1200px; margin: auto; padding: 1rem 1.25rem; }
.cookie-notice strong { font-size: .95rem; }
.cookie-notice p { margin: .25rem 0 0; font-size: .875rem; line-height: 1.5; }
.cookie-notice a { color: inherit; text-decoration: underline; text-underline-offset: .15em; }
.cookie-notice-button { flex: 0 0 auto; padding: .65rem 1rem; border: 1px solid var(--text); border-radius: 4px; background: var(--text); color: var(--surface); font: inherit; font-size: .875rem; font-weight: 700; cursor: pointer; }
.cookie-notice-button:focus-visible, .cookie-notice a:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; }
body:has(.admin-bar) .cookie-notice { top: 1rem; bottom: auto; }
@media (max-width: 600px) {
    .cookie-notice-content { align-items: flex-start; flex-direction: column; gap: .75rem; padding: 1rem; }
}