/* Cookie consent — compact glass toast, bottom-left */

.cc {
    position: fixed;
    left: 1.25rem;
    bottom: 1.25rem;
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 1rem;
    max-width: 520px;
    padding: 0.85rem 1.1rem;
    background: rgba(15, 17, 23, 0.82);
    backdrop-filter: blur(20px) saturate(1.6);
    -webkit-backdrop-filter: blur(20px) saturate(1.6);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    box-shadow:
        0 16px 48px -12px rgba(0, 0, 0, 0.55),
        0 0 0 1px rgba(212,169,87, 0.06);
    color: #d4d4d8;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 0.82rem;
    line-height: 1.45;

    /* entrance animation */
    opacity: 0;
    transform: translateY(12px) translateX(-8px);
    pointer-events: none;
    transition:
        opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1),
        transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.cc.cc-visible {
    opacity: 1;
    transform: translateY(0) translateX(0);
    pointer-events: auto;
}

/* Icon */
.cc-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212,169,87, 0.12);
    border-radius: 10px;
    font-size: 1.15rem;
    line-height: 1;
}

/* Text */
.cc-text {
    flex: 1;
    min-width: 0;
}

.cc-text p {
    margin: 0;
    color: #a1a1aa;
}

.cc-text a {
    color: #ead29b;
    text-decoration: none;
    border-bottom: 1px solid rgba(234, 210, 155, 0.35);
    transition: color 0.15s ease, border-color 0.15s ease;
}

.cc-text a:hover {
    color: #f5e4bf;
    border-color: #f5e4bf;
}

/* Buttons */
.cc-actions {
    display: flex;
    gap: 0.4rem;
    flex-shrink: 0;
}

.cc-btn {
    padding: 0.5rem 0.85rem;
    border-radius: 9px;
    font-family: inherit;
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
}

.cc-btn-ghost {
    background: rgba(255, 255, 255, 0.06);
    color: #a1a1aa;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.cc-btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #e4e4e7;
    border-color: rgba(255, 255, 255, 0.15);
}

.cc-btn-accept {
    background: #d4a957;
    color: #fff;
    box-shadow: 0 2px 8px -2px rgba(212,169,87, 0.5);
}

.cc-btn-accept:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 16px -4px rgba(212,169,87, 0.6);
}

/* ---- Mobile ---- */
@media (max-width: 540px) {
    .cc {
        left: 0.75rem;
        right: 0.75rem;
        bottom: 0.75rem;
        max-width: none;
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .cc-text {
        flex: 1 1 calc(100% - 52px); /* icon + gap */
    }

    .cc-actions {
        width: 100%;
    }

    .cc-btn {
        flex: 1;
        text-align: center;
    }
}
