﻿:root {
    --ck-blue: #11a1ff;
    --ck-blue-2: #e6f2ff;
    --ck-blue-text: #0a58ca;
    --ck-text: #111;
    --ck-bg: #fff;
    --ck-shadow: 0 -4px 18px rgba(0,0,0,.08);
    --ck-radius: 12px;
}

/* Banner */
.ck-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--ck-bg);
    box-shadow: var(--ck-shadow);
    border-top: 1px solid rgba(0,0,0,.08);
    z-index: 2147483647;
    padding: max(12px, env(safe-area-inset-bottom)) 0 12px;
}

.ck-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
}

.ck-title {
    font-weight: 700;
    font-size: 18px;
    color: var(--ck-text);
    margin-bottom: 6px
}

.ck-desc {
    margin: 0 0 8px 0;
    color: #333
}

.ck-link {
    color: #0a58ca;
    text-decoration: underline
}

.ck-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-top: 8px
}

.ck-btn {
    border: 0;
    border-radius: var(--ck-radius);
    padding: 12px 18px;
    font-weight: 700;
    cursor: pointer;
    min-width: 200px;
    text-align: center;
    transition: .15s transform ease
}

    .ck-btn:active {
        transform: scale(.98)
    }

.ck-allow {
    background: var(--ck-blue);
    color: #fff
}

.ck-deny {
    background: var(--ck-blue-2);
    color: var(--ck-blue-text)
}

.ck-custom {
    background: #fff;
    border: 2px solid var(--ck-blue);
    color: var(--ck-blue)
}

@media (max-width:900px) {
    .ck-btn {
        min-width: unset;
        flex: 1
    }
}

/* Modal */
.ck-modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.45);
    z-index: 2147483648;
    display: flex;
    align-items: center;
    justify-content: center
}

.ck-modal__dialog {
    background: #fff;
    color: #111;
    width: min(560px,92vw);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 28px rgba(0,0,0,.2)
}

.ck-modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    border-bottom: 1px solid #eee
}

.ck-modal__close {
    background: none;
    border: 0;
    font-size: 26px;
    line-height: 1;
    cursor: pointer
}

.ck-modal__body {
    padding: 16px 18px
}

.ck-modal__footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 14px 18px;
    border-top: 1px solid #eee
}

.ck-switch {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0
}

    .ck-switch input {
        transform: scale(1.1)
    }

.ck-small {
    color: #444;
    margin-top: 0
}

[hidden] {
    display: none !important;
}
