.lcev-cookie-notice {
    position: fixed;
    z-index: 60;
    inset: auto 12px max(12px, env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 20px;
    max-width: 1120px;
    max-height: 50dvh;
    overflow: auto;
    margin-inline: auto;
    padding: 10px 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--background);
    color: var(--ink);
    box-shadow: 0 2px 14px #0003;
    font-size: 14px;
    line-height: 1.5;
}

.lcev-cookie-notice[hidden] { display: none; }
.lcev-cookie-notice p { margin: 0; overflow-wrap: anywhere; }
.lcev-cookie-notice a { text-decoration: underline; text-underline-offset: 3px; }

.lcev-cookie-notice button {
    flex-shrink: 0;
    min-height: 44px;
    padding: 6px 15px;
    border: 1px solid var(--ink);
    border-radius: 6px;
    background: var(--ink);
    color: var(--background);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}

.lcev-cookie-notice :is(a, button):focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 3px;
}

@media (max-width: 540px) {
    .lcev-cookie-notice {
        flex-direction: column;
        align-items: stretch;
    }
    .lcev-cookie-notice button { align-self: flex-end; }
}
