/* Cookie notice — white/purple chrome, not a modal overlay */
.az-cookie {
    position: fixed;
    left: 50%;
    bottom: 16px;
    transform: translateX(-50%);
    width: calc(100% - 16px);
    max-width: 480px;
    z-index: 32;
    padding: 14px 16px 12px;
    background: linear-gradient(180deg, #ffffff, #f3f5fb);
    border: 1px solid var(--az-line, #d5dbe8);
    border-radius: 20px;
    box-shadow: 0 10px 28px rgba(21, 21, 40, 0.14), inset 0 1px 0 rgba(255, 255, 255, 0.8);
    color: var(--az-navy, #1a1a2e);
    font-family: Inter, system-ui, -apple-system, Segoe UI, sans-serif;
    pointer-events: auto;
}
.az-cookie-title {
    margin: 0 0 4px;
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--az-navy, #1a1a2e);
    line-height: 1.25;
}
.az-cookie-body {
    margin: 0 0 12px;
    font-size: 0.82rem;
    line-height: 1.4;
    color: var(--az-muted, #4a5570);
}
.az-cookie-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
}
.az-cookie-ok {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 8px 18px;
    border: none;
    border-radius: 40px;
    color: #fff;
    background: var(--az-grad, linear-gradient(135deg, #5b8cff 0%, #6c5ce7 50%, #3b2db8 100%));
    box-shadow: 0 8px 20px rgba(59, 45, 184, 0.32);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    cursor: pointer;
    line-height: 1;
}
.az-cookie-ok:hover { filter: brightness(1.06); }
.az-cookie-ok:active { transform: scale(0.98); }
.az-cookie-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    isolation: isolate;
    min-height: 40px;
    padding: 8px 6px;
    background: none;
    border: none;
    border-radius: 0;
    color: var(--az-purple-deep, #3b2db8);
    font-family: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    line-height: 1;
    white-space: nowrap;
}
.az-cookie-more::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: 0;
    height: 2px;
    background: var(--az-grad, linear-gradient(135deg, #5b8cff 0%, #6c5ce7 50%, #3b2db8 100%));
    transition: width 0.3s;
    transform: translateX(-50%);
}
.az-cookie-more:hover::after { width: 100%; }
.az-cookie-ok:focus-visible,
.az-cookie-more:focus-visible {
    outline: 2px solid var(--az-blue, #5b8cff);
    outline-offset: 2px;
}

body:has(.bottom-nav) .az-cookie,
body:has(.lab-dock) .az-cookie {
    bottom: 84px;
}

@media (min-width: 768px) {
    .az-cookie { max-width: 520px; }
    body:has(.bottom-nav) .az-cookie { bottom: 16px; }
    body:has(.lab-dock) .az-cookie { bottom: 84px; }
}

@media (prefers-reduced-motion: reduce) {
    .az-cookie-more::after { transition: none; }
    .az-cookie-ok:active { transform: none; }
}
