.analytics-consent {
    position: fixed;
    z-index: 1000;
    right: 16px;
    bottom: 16px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 14px;
    align-items: center;
    width: min(580px, calc(100% - 32px));
    padding: 14px 16px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 16px;
    background: #10293c;
    color: #fff;
    box-shadow: 0 18px 50px rgba(16, 41, 60, .28);
}

.analytics-consent[hidden] { display: none; }
.analytics-consent strong { display: block; font-size: 15px; }
.analytics-consent p { margin: 4px 0; color: #d7e1e5; font-size: 12px; line-height: 1.4; }
.analytics-consent a { color: #fff; font-size: 11px; }
.analytics-consent-actions { display: flex; gap: 8px; }
.analytics-consent button {
    padding: 8px 11px;
    border: 1px solid #8ba0aa;
    border-radius: 999px;
    background: transparent;
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 750;
    cursor: pointer;
}
.analytics-consent button[data-analytics-consent="granted"] {
    border-color: #f4b43f;
    background: #f4b43f;
    color: #10293c;
}

@media (max-width: 680px) {
    .analytics-consent {
        right: 12px;
        bottom: 84px;
        grid-template-columns: 1fr;
        width: calc(100% - 24px);
        padding: 12px 14px;
        gap: 10px;
    }
    .analytics-consent-actions { display: grid; grid-template-columns: 1fr 1fr; }
    .analytics-consent button { min-width: 0; padding: 8px 6px; font-size: 11px; }
}
