#cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 32px);
    max-width: 640px;
    background: #1a1f2e;
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    z-index: 9999;
    box-shadow: 0 8px 32px rgba(0, 0, 0, .50);
    animation: cookie-in .25s ease;
}

#cookie-banner p {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #b7c0d6;
    flex: 1;
}

.cookie-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.cookie-actions button {
    padding: 7px 16px;
    border-radius: 8px;
    border: none;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: opacity .15s;
}

.cookie-actions button:hover {
    opacity: .85;
}

#cookie-accept {
    background: #34d399;
    color: #0b0d12;
}

#cookie-reject {
    background: rgba(255, 255, 255, .08);
    color: #e9ecf2;
}

.cookie-banner--out {
    animation: cookie-out .35s ease forwards;
}

.cookie-policy-link {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
    white-space: nowrap;
}

@keyframes cookie-in {
    from { opacity: 0; transform: translateX(-50%) translateY(12px); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@keyframes cookie-out {
    to { opacity: 0; transform: translateX(-50%) translateY(14px); }
}

@media (max-width: 480px) {
    #cookie-banner {
        flex-direction: column;
        align-items: flex-start;
    }
}
