    #cookie-banner, #cookie-banner-overlay {
        --cb-accent: var(--f-accent, #1a1a18);
        --cb-glass: rgba(255, 255, 255, 0.62);
        --cb-glass-strong: rgba(255, 255, 255, 0.78);
        --cb-border: rgba(255, 255, 255, 0.65);
        --cb-text: #16160f;
        --cb-sub: #5d5d57;
        --cb-radius: 20px;
        --cb-shadow: 0 18px 50px rgba(15, 15, 20, 0.18), 0 4px 14px rgba(15, 15, 20, 0.07);
    }

    #cookie-banner {
        font-family: inherit;
        box-sizing: border-box;
    }
    #cookie-banner * { box-sizing: border-box; }

    #cookie-banner.cb--bar {
        position: fixed;
        left: 50%;
        bottom: 22px;
        transform: translateX(-50%);
        width: min(980px, calc(100% - 32px));
        z-index: 9990;
        background: var(--cb-glass);
        -webkit-backdrop-filter: blur(26px) saturate(165%);
        backdrop-filter: blur(26px) saturate(165%);
        border: 1px solid var(--cb-border);
        border-radius: var(--cb-radius);
        box-shadow: var(--cb-shadow);
        padding: 16px 20px;
        animation: cbUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
    }
    #cookie-banner.cb--bar .cb__inner {
        display: flex;
        align-items: center;
        gap: 20px;
        flex-wrap: wrap;
        max-width: none;
        margin: 0;
    }
    #cookie-banner.cb--bar .cb__body { flex: 1 1 320px; min-width: 0; }

    #cookie-banner-overlay.cb-overlay {
        position: fixed;
        inset: 0;
        z-index: 9990;
        background: rgba(16, 16, 22, 0.42);
        -webkit-backdrop-filter: blur(5px);
        backdrop-filter: blur(5px);
        animation: cbFade 0.35s ease both;
    }
    #cookie-banner.cb--popup {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 9991;
        width: min(440px, calc(100% - 32px));
        background: var(--cb-glass-strong);
        -webkit-backdrop-filter: blur(30px) saturate(170%);
        backdrop-filter: blur(30px) saturate(170%);
        border: 1px solid var(--cb-border);
        border-radius: 24px;
        box-shadow: var(--cb-shadow);
        padding: 34px 30px 26px;
        text-align: center;
        animation: cbPop 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    #cookie-banner.cb--box {
        position: fixed;
        left: 24px;
        bottom: 24px;
        z-index: 9990;
        width: min(366px, calc(100% - 32px));
        background: var(--cb-glass-strong);
        -webkit-backdrop-filter: blur(28px) saturate(165%);
        backdrop-filter: blur(28px) saturate(165%);
        border: 1px solid var(--cb-border);
        border-radius: var(--cb-radius);
        box-shadow: var(--cb-shadow);
        padding: 22px 22px 20px;
        animation: cbUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
    }

    #cookie-banner .cb__img {
        flex: 0 0 auto;
        display: inline-flex;
        margin-bottom: 0;
    }
    #cookie-banner.cb--popup .cb__img { display: block; margin: 0 auto 14px; }
    #cookie-banner .cb__img img {
        width: 46px;
        height: 46px;
        object-fit: contain;
        display: block;
        filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.12));
    }

    #cookie-banner .cb__title {
        margin: 0 0 6px;
        font-size: 15px;
        font-weight: 700;
        line-height: 1.35;
        color: var(--cb-text);
        letter-spacing: -0.01em;
    }
    #cookie-banner.cb--popup .cb__title { font-size: 18px; }

    #cookie-banner .cb__text {
        margin: 0;
        font-size: 13px;
        line-height: 1.6;
        color: var(--cb-sub);
    }
    #cookie-banner .cb__text p { margin: 0 0 4px; }
    #cookie-banner .cb__text a {
        color: var(--cb-accent);
        text-decoration: underline;
        text-underline-offset: 2px;
        font-weight: 600;
    }

    #cookie-banner .cb__actions {
        display: flex;
        gap: 10px;
        flex-shrink: 0;
        align-items: center;
    }
    #cookie-banner .cb__actions--stack {
        margin-top: 20px;
        flex-direction: column;
    }
    #cookie-banner .cb__actions--stack .cb__btn { width: 100%; }

    #cookie-banner .cb__btn {
        appearance: none;
        border: 1px solid transparent;
        padding: 11px 24px;
        font-size: 13.5px;
        font-weight: 600;
        line-height: 1.2;
        border-radius: 12px;
        cursor: pointer;
        white-space: nowrap;
        font-family: inherit;
        letter-spacing: -0.01em;
        transition: transform 0.15s ease, box-shadow 0.18s ease, background 0.18s ease, opacity 0.18s ease;
    }
    #cookie-banner .cb__btn--accept {
        background: var(--cb-accent);
        color: #fff;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
    }
    #cookie-banner .cb__btn--accept:hover {
        transform: translateY(-1px);
        box-shadow: 0 9px 24px rgba(0, 0, 0, 0.22);
    }
    #cookie-banner .cb__btn--accept:active { transform: translateY(0); }
    #cookie-banner .cb__btn--reject {
        background: rgba(255, 255, 255, 0.45);
        border: 1px solid rgba(20, 20, 15, 0.16);
        color: var(--cb-text);
        -webkit-backdrop-filter: blur(8px);
        backdrop-filter: blur(8px);
    }
    #cookie-banner .cb__btn--reject:hover {
        background: rgba(255, 255, 255, 0.75);
        border-color: rgba(20, 20, 15, 0.3);
    }

    #cookie-banner.cb--hidden,
    #cookie-banner-overlay.cb--hidden { display: none !important; }

    @keyframes cbUp {
        from { opacity: 0; transform: translateX(-50%) translateY(24px); }
        to   { opacity: 1; transform: translateX(-50%) translateY(0); }
    }
    #cookie-banner.cb--box {
        animation-name: cbUpBox;
    }
    @keyframes cbUpBox {
        from { opacity: 0; transform: translateY(24px); }
        to   { opacity: 1; transform: translateY(0); }
    }
    @keyframes cbPop {
        from { opacity: 0; transform: translate(-50%, -50%) scale(0.94); }
        to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    }
    @keyframes cbFade {
        from { opacity: 0; }
        to   { opacity: 1; }
    }

    @media (max-width: 600px) {
        #cookie-banner.cb--bar {
            left: 12px;
            right: 12px;
            bottom: 12px;
            transform: none;
            width: auto;
            padding: 16px;
            animation-name: cbUpBox;
        }
        #cookie-banner.cb--bar .cb__inner { gap: 14px; }
        #cookie-banner.cb--bar .cb__actions { width: 100%; }
        #cookie-banner.cb--bar .cb__actions .cb__btn { flex: 1; }
        #cookie-banner.cb--box {
            left: 12px;
            right: 12px;
            bottom: 12px;
            width: auto;
        }
        #cookie-banner.cb--popup {
            top: auto;
            bottom: 12px;
            left: 12px;
            right: 12px;
            width: auto;
            max-width: none;
            transform: none;
            padding: 26px 20px 20px;
            max-height: calc(100dvh - 24px);
            overflow-y: auto;
        }
        #cookie-banner.cb--popup .cb__actions,
        #cookie-banner.cb--popup .cb__actions--stack {
            flex-direction: column;
            width: 100%;
        }
        #cookie-banner.cb--popup .cb__actions .cb__btn { width: 100%; }
    }
    #cookie-banner.cb--box[data-cb-position="bottom-right"] { left: auto; right: 24px; top: auto; bottom: 24px; }
    #cookie-banner.cb--box[data-cb-position="top-left"] { left: 24px; right: auto; top: 24px; bottom: auto; }
    #cookie-banner.cb--box[data-cb-position="top-right"] { left: auto; right: 24px; top: 24px; bottom: auto; }
    #cookie-banner.cb--bar[data-cb-position="top"] { top: 22px; bottom: auto; }
    #cookie-banner.cb--bar[data-cb-position="bottom-full"],
    #cookie-banner.cb--bar[data-cb-position="top-full"] { left: 0; right: 0; width: 100%; max-width: none; transform: none; border-radius: 0; }
    #cookie-banner.cb--bar[data-cb-position="bottom-full"] { bottom: 0; top: auto; }
    #cookie-banner.cb--bar[data-cb-position="top-full"] { top: 0; bottom: auto; }

    #cookie-banner .cb__link {
        appearance: none;
        background: none;
        border: 0;
        padding: 0;
        margin-top: 8px;
        font: inherit;
        font-size: 12.5px;
        font-weight: 600;
        color: var(--cb-accent);
        text-decoration: underline;
        text-underline-offset: 2px;
        cursor: pointer;
        display: inline-block;
    }
    #cookie-banner.cb--bar .cb__link { margin-top: 4px; }
    #cookie-banner .cb__link:hover { opacity: .8; }

    #cb-policy-modal.cb-policy {
        position: fixed;
        inset: 0;
        z-index: 10000;
    }
    #cb-policy-modal .cb-policy__backdrop {
        position: absolute;
        inset: 0;
        background: rgba(16, 16, 22, 0.5);
        -webkit-backdrop-filter: blur(6px);
        backdrop-filter: blur(6px);
        animation: cbFade .3s ease both;
    }
    #cb-policy-modal .cb-policy__box {
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1;
        width: min(680px, calc(100% - 40px));
        max-height: min(82vh, 660px);
        display: flex;
        flex-direction: column;
        background: #fff;
        border-radius: 20px;
        box-shadow: 0 30px 80px rgba(15, 15, 20, 0.35);
        overflow: hidden;
        animation: cbPop .4s cubic-bezier(0.16, 1, 0.3, 1) both;
    }
    #cb-policy-modal .cb-policy__head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        padding: 20px 24px;
        border-bottom: 1px solid rgba(20, 20, 15, 0.08);
    }
    #cb-policy-modal .cb-policy__title {
        margin: 0;
        font-size: 16px;
        font-weight: 700;
        color: #16160f;
    }
    #cb-policy-modal .cb-policy__close {
        appearance: none;
        border: 0;
        background: rgba(20, 20, 15, 0.06);
        width: 34px;
        height: 34px;
        border-radius: 50%;
        font-size: 20px;
        line-height: 1;
        color: #444;
        cursor: pointer;
        flex: 0 0 auto;
        transition: background .15s ease;
    }
    #cb-policy-modal .cb-policy__close:hover { background: rgba(20, 20, 15, 0.12); }
    #cb-policy-modal .cb-policy__body {
        padding: 22px 24px;
        overflow-y: auto;
        font-size: 14px;
        line-height: 1.7;
        color: #3a3a34;
    }
    #cb-policy-modal .cb-policy__body img { max-width: 100%; height: auto; }
    #cb-policy-modal .cb-policy__body h1,
    #cb-policy-modal .cb-policy__body h2,
    #cb-policy-modal .cb-policy__body h3 { margin: 18px 0 8px; font-weight: 700; color: #16160f; }
    #cb-policy-modal.cb--hidden { display: none !important; }

    @keyframes cbPopModal {
        from { opacity: 0; transform: scale(0.96); }
        to   { opacity: 1; transform: scale(1); }
    }
    @media (max-width: 600px) {
        #cb-policy-modal .cb-policy__box { max-height: 88vh; border-radius: 16px; }
    }
