.cc-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1100px;
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    margin: 0 auto;
    padding: 20px 24px;
    background: #fff;
    border-top: 4px solid #f79001;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}
.cc-banner[hidden] { display: none; }

.cc-banner h2, .cc-modal h2 { margin: 0 0 6px; font-size: 18px; color: #0b2962; }
.cc-banner p, .cc-modal p { margin: 0; font-size: 14px; line-height: 1.5; color: #222; }
.cc-banner a { text-decoration: underline; color: #0b2962; }

.cc-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; flex-shrink: 0; }

.cc-btn {
    min-width: 120px;
    padding: 11px 18px;
    font: inherit;
    font-size: 14px;
    cursor: pointer;
    color: #fff;
    background: #0b2962;
    border: 2px solid #0b2962;
}
.cc-btn:hover { background: #000; border-color: #000; }
.cc-btn--link { min-width: 0; color: #0b2962; background: transparent; border-color: transparent; text-decoration: underline; }
.cc-btn--link:hover { color: #000; background: transparent; border-color: transparent; }

.cc-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    width: min(560px, calc(100% - 32px));
    max-height: calc(100vh - 32px);
    margin: auto;
    padding: 24px;
    overflow-y: auto;
    border: 0;
    border-top: 4px solid #f79001;
    background: #fff;
}
.cc-modal::backdrop { background: rgba(0, 0, 0, 0.7); }
.cc-modal__head { display: flex; align-items: center; justify-content: space-between; }
.cc-close { font-size: 28px; line-height: 1; cursor: pointer; background: none; border: 0; color: #000; }
.cc-option { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid #d0d0d0; }
label.cc-option { cursor: pointer; }
.cc-option h3 { margin: 0 0 4px; font-size: 15px; color: #000; }
.cc-always { flex-shrink: 0; font-size: 13px; color: #0b2962; }

.cc-switch {
    appearance: none;
    -webkit-appearance: none;
    position: relative;
    flex-shrink: 0;
    width: 44px;
    height: 24px;
    margin: 0;
    border-radius: 12px;
    background: #8a8a8a;
    cursor: pointer;
    transition: background 0.2s;
}
.cc-switch::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
    transition: transform 0.2s;
}
.cc-switch:checked { background: #0b2962; }
.cc-switch:checked::after { transform: translateX(20px); }
.cc-modal .cc-actions { margin-top: 20px; }

@media (max-width: 767px) {
    .cc-banner { flex-direction: column; align-items: stretch; gap: 14px; left: 8px; right: 8px; bottom: 8px; padding: 16px; }
    .cc-actions .cc-btn { flex: 1; min-width: 0; }
}
