/* Cookie consent — compact, low-contrast chip */
.cookie-consent {
    position: fixed;
    left: auto;
    right: 12px;
    bottom: 12px;
    z-index: 200;
    max-width: min(380px, calc(100vw - 24px));
    padding: 8px 12px 10px;
    background: rgba(14, 13, 10, 0.78);
    border: 1px solid rgba(197, 160, 89, 0.12);
    border-radius: 10px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-family: 'Manrope', system-ui, -apple-system, sans-serif;
}

.cookie-consent[hidden] {
    display: none !important;
}

.cookie-consent__inner {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}

.cookie-consent__text {
    flex: 1 1 200px;
    margin: 0;
    font-size: 12px;
    line-height: 1.45;
    color: rgba(220, 216, 204, 0.72);
}

.cookie-consent__text a {
    color: rgba(197, 160, 89, 0.75);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.cookie-consent__text a:hover {
    color: rgba(212, 175, 106, 0.95);
}

.cookie-consent__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

.cookie-consent__btn {
    appearance: none;
    cursor: pointer;
    border: 1px solid rgba(197, 160, 89, 0.28);
    background: rgba(197, 160, 89, 0.1);
    color: rgba(228, 220, 200, 0.92);
    font-weight: 600;
    font-size: 11px;
    padding: 5px 12px;
    border-radius: 6px;
    font-family: inherit;
    letter-spacing: 0.02em;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.cookie-consent__btn:hover {
    background: rgba(197, 160, 89, 0.18);
    border-color: rgba(197, 160, 89, 0.4);
    color: #f2f2e8;
}

.cookie-consent__btn:focus-visible {
    outline: 1px solid rgba(197, 160, 89, 0.55);
    outline-offset: 2px;
}

@media (max-width: 520px) {
    .cookie-consent {
        left: 10px;
        right: 10px;
        max-width: none;
    }

    .cookie-consent__inner {
        flex-direction: row;
        align-items: flex-start;
    }

    .cookie-consent__actions {
        margin-left: auto;
    }

    .cookie-consent__btn {
        white-space: nowrap;
    }
}
