.cookie-consent {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1100;
    padding: 1rem max(1.25rem, env(safe-area-inset-right)) max(1rem, env(safe-area-inset-bottom)) max(1.25rem, env(safe-area-inset-left));
    background: #111115;
    border-top: 1px solid rgba(212, 175, 55, 0.55);
    box-shadow: 0 -0.75rem 2rem rgba(0, 0, 0, 0.28);
    color: #e8e0d0;
    font-family: "DM Sans", sans-serif;
}

.cookie-consent__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 1rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.cookie-consent__message {
    margin: 0;
    color: #e8e0d0;
    font-size: 0.9rem;
    line-height: 1.55;
}

.cookie-consent__link {
    color: #e8c44a;
    text-underline-offset: 0.18em;
}

.cookie-consent__link:hover {
    color: #f1d46c;
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.65rem;
}

.cookie-consent__button {
    min-width: 6.25rem;
    padding: 0.7rem 1rem;
    border: 1px solid #d4af37;
    border-radius: 0.2rem;
    font: inherit;
    font-size: 0.8rem;
    font-weight: 500;
    line-height: 1;
    cursor: pointer;
    transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.cookie-consent__button:focus-visible,
.cookie-consent__link:focus-visible {
    outline: 3px solid #f1d46c;
    outline-offset: 3px;
}

.cookie-consent__button--accept {
    background: #d4af37;
    color: #0a0a0a;
}

.cookie-consent__button--accept:hover {
    background: #e8c44a;
    border-color: #e8c44a;
}

.cookie-consent__button--decline {
    background: transparent;
    color: #e8e0d0;
}

.cookie-consent__button--decline:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: #e8c44a;
    color: #f1d46c;
}

@media (max-width: 640px) {
    .cookie-consent__inner {
        grid-template-columns: 1fr;
        gap: 0.9rem;
    }

    .cookie-consent__actions {
        justify-content: stretch;
    }

    .cookie-consent__button {
        flex: 1 1 8rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-consent__button,
    .cookie-consent__link {
        transition: none;
    }
}
