.cc-banner {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 999;
    display: flex;
    justify-content: center;
    padding: clamp(.75rem, 2vw, 1.5rem);
    transform: translateY(120%);
    transition: transform .5s cubic-bezier(.22, 1, .36, 1);
    pointer-events: none;
}

.cc-banner.is-visible {
    transform: translateY(0);
}

.cc-box {
    width: 100%;
    max-width: 880px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    padding: clamp(1rem, 2.4vw, 1.5rem) clamp(1.25rem, 3vw, 2rem);
    background: var(--white);
    color: var(--navy);
    border-radius: 16px;
    box-shadow: 0 18px 44px rgba(0, 21, 94, .22);
    pointer-events: auto;
}

.cc-text {
    flex: 1 1 320px;
    font-size: .875rem;
    line-height: 1.55;
    opacity: .85;
}

.cc-text a { color: var(--navy); text-decoration: underline; }

.cc-actions {
    flex: 0 0 auto;
    display: flex;
    flex-wrap: wrap;
    gap: .625rem;
    margin-left: auto;
}

.cc-btn {
    border: none;
    border-radius: 999px;
    padding: .7rem 1.375rem;
    font-family: var(--font-text);
    font-weight: 700;
    font-size: .8125rem;
    letter-spacing: .02em;
    cursor: pointer;
    white-space: nowrap;
    transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}

.cc-btn-accept {
    background: var(--navy);
    color: var(--white);
    box-shadow: 0 8px 18px rgba(0, 21, 94, .22);
}
.cc-btn-accept:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(0, 21, 94, .28); }

.cc-btn-reject {
    background: transparent;
    color: var(--navy);
    box-shadow: inset 0 0 0 1.5px rgba(0, 21, 94, .25);
}
.cc-btn-reject:hover { background: rgba(0, 21, 94, .06); }

.cc-reopen {
    background: none;
    border: none;
    padding: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
}

@media (max-width: 640px) {
    .cc-box { flex-direction: column; align-items: stretch; text-align: left; }
    .cc-text { flex: none; }
    .cc-actions { margin-left: 0; }
    .cc-btn { flex: 1 1 auto; text-align: center; }
}
