/* Cookie notice: a quiet, non-blocking bar. Daystar tokens only. */
.cookie-notice {
    position: fixed;
    z-index: 1060;
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 12px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 20px;
    max-width: 760px;
    padding: 14px 16px;
    border: 1px solid var(--color-border);
    border-top: 3px solid var(--color-cyan-500);
    border-radius: 12px;
    background: var(--whiteColor);
    color: var(--color-ink);
    box-shadow: 0 16px 40px rgb(0 33 71 / 20%), 0 2px 8px rgb(0 33 71 / 10%);
    animation: cookie-notice-in 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cookie-notice[hidden] {
    display: none;
}

.cookie-notice__text {
    flex: 1 1 320px;
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.5;
}

.cookie-notice__text a {
    color: var(--color-cyan-700);
    font-weight: 600;
    text-underline-offset: 3px;
}

.cookie-notice__button {
    min-height: 44px;
    min-width: 44px;
}

.cookie-notice a:focus-visible,
.cookie-notice button:focus-visible {
    outline: 3px solid var(--color-cyan-700);
    outline-offset: 3px;
}

/* The DAYA launcher steps up while the notice is on screen so the two never overlap. */
.has-cookie-notice .daya-launcher {
    bottom: calc(24px + var(--cookie-notice-height, 0px) + env(safe-area-inset-bottom));
}

@media (min-width: 576px) {
    .cookie-notice {
        right: auto;
        bottom: 24px;
        left: 24px;
    }

    .has-cookie-notice .daya-launcher {
        bottom: calc(36px + var(--cookie-notice-height, 0px));
    }
}

@keyframes cookie-notice-in {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-notice {
        animation: none;
    }
}
