/* Cookie consent banner (analytics, advertising) (templates/_analytics.html, static/analytics.js). */
.cz-consent {
    position: fixed;
    left: max(16px, env(safe-area-inset-left, 0px));
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    z-index: 90;
    box-sizing: border-box;
    width: min(460px, calc(100vw - 32px));
    padding: 16px 18px;
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, .14);
    background: #0c1c1a;
    color: #e9f2ef;
    box-shadow: 0 18px 40px -16px rgba(4, 16, 14, .55);
    font-size: 14px;
    line-height: 1.5;
}
.cz-consent-text { margin: 0 0 12px; color: inherit; }
.cz-consent-text a { color: #7fe3cf; text-decoration: underline; text-underline-offset: 2px; }
.cz-consent-actions { display: flex; gap: 10px; }
.cz-consent-btn {
    flex: 1 1 0;
    min-height: 44px;
    padding: 8px 14px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .32);
    background: transparent;
    color: #fff;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
}
.cz-consent-btn:hover { background: rgba(255, 255, 255, .1); }
.cz-consent-yes { border-color: #2fbfa5; background: #2fbfa5; color: #05211c; }
.cz-consent-yes:hover { background: #48d0b7; }
.cz-consent-btn:focus-visible, .cz-consent-text a:focus-visible, .cz-consent-link:focus-visible { outline: 2px solid #7fe3cf; outline-offset: 2px; }
.cz-consent-link {
    padding: 0;
    border: 0;
    background: none;
    color: inherit;
    font: inherit;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
}
@media (max-width: 520px) {
    .cz-consent { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom, 0px)); width: auto; }
}
