:root {
    --cb-accent: var(--theme-color-a50012);
    --cb-accent-2: var(--theme-color-d51c2f);
    --cb-accent-dark: var(--theme-color-78000b);
    --cb-ink: var(--theme-color-0d1117);
    --cb-soft: var(--theme-color-0d1117-7200);
    --cb-muted: var(--theme-color-0d1117-5200);
    --cb-line: var(--theme-color-0d1117-1200);
    --cb-line-strong: var(--theme-color-a50012-2200);
    --cb-white: var(--theme-color-ffffff-9400);
    --cb-white-strong: var(--theme-color-ffffff-9800);
    --cb-glass: var(--theme-color-f2f0ec-8800);
    --cb-shadow: 0 34px 90px var(--theme-color-000000-2800), 0 14px 38px var(--theme-color-000000-1600);
    --cb-shadow-soft: 0 18px 42px var(--theme-color-000000-1400);
    --cb-radius: calc(26px * var(--theme-radius-scale));
    --cb-radius-sm: calc(16px * var(--theme-radius-scale));
    --cb-focus: 0 0 0 4px var(--theme-color-a50012-1800);
}

.cookie-banner {
    position: fixed;
    left: 50%;
    bottom: 22px;
    transform: translateX(-50%);
    z-index: 9999;
    width: min(780px, calc(100vw - 28px));
    min-height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 16px 18px 16px 20px;
    border-radius: var(--cb-radius);
    border: 1px solid var(--theme-color-ffffff-6200);
    background: radial-gradient(720px 240px at 8% -20%, var(--theme-color-a50012-1800), transparent 58%), radial-gradient(520px 240px at 100% 0%, var(--theme-color-ffffff-7200), transparent 64%), linear-gradient(180deg, var(--theme-color-ffffff-9400), var(--theme-color-ebe8e2-8800));
    box-shadow: var(--cb-shadow);
    backdrop-filter: blur(22px) saturate(1.18);
    -webkit-backdrop-filter: blur(22px) saturate(1.18);
    overflow: hidden;
}

    .cookie-banner::before {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(90deg, var(--theme-color-ffffff-4600), transparent 32%, var(--theme-color-ffffff-2000)), radial-gradient(580px 170px at 50% 0%, var(--theme-color-ffffff-6600), transparent 72%);
        opacity: .95;
    }

    .cookie-banner::after {
        content: "";
        position: absolute;
        left: 20px;
        right: 20px;
        top: 0;
        height: 3px;
        border-radius: 999px;
        background: linear-gradient(90deg, var(--cb-accent), var(--theme-color-d51c2f-7500), transparent);
        opacity: .85;
    }

    .cookie-banner p,
    .cookie-banner button {
        position: relative;
        z-index: 1;
    }

    .cookie-banner p {
        margin: 0;
        max-width: 560px;
        color: var(--cb-soft);
        font-size: .98rem;
        line-height: 1.45;
        font-weight: 700;
        letter-spacing: -.01em;
    }

        .cookie-banner p::before {
            content: "Cookies";
            display: block;
            margin-bottom: 2px;
            color: var(--cb-ink);
            font-size: .78rem;
            line-height: 1.2;
            font-weight: 950;
            text-transform: uppercase;
            letter-spacing: .14em;
        }

    .cookie-banner a {
        color: var(--cb-accent);
        font-weight: 900;
        text-decoration: none;
        border-bottom: 1px solid var(--theme-color-a50012-2800);
        transition: border-color .18s ease, color .18s ease;
    }

        .cookie-banner a:hover {
            color: var(--cb-accent-dark);
            border-bottom-color: var(--theme-color-a50012-5800);
        }

    .cookie-banner button {
        flex: 0 0 auto;
        min-width: 126px;
        height: 46px;
        padding: 0 22px;
        border: 0;
        border-radius: 999px;
        background: linear-gradient(180deg, var(--cb-accent-2), var(--cb-accent));
        color: var(--theme-color-ffffff);
        font-size: .95rem;
        font-weight: 950;
        letter-spacing: -.015em;
        cursor: pointer;
        white-space: nowrap;
        box-shadow: 0 18px 36px var(--theme-color-a50012-3000-shadow), inset 0 1px 0 var(--theme-color-ffffff-2800-shadow);
        transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
    }

        .cookie-banner button:hover {
            transform: translateY(-2px);
            filter: saturate(1.05) brightness(1.03);
            box-shadow: 0 24px 48px var(--theme-color-a50012-3600-shadow), inset 0 1px 0 var(--theme-color-ffffff-3200-shadow);
        }

        .cookie-banner button:active {
            transform: translateY(0);
            box-shadow: 0 12px 26px var(--theme-color-a50012-2600-shadow), inset 0 1px 0 var(--theme-color-ffffff-2200-shadow);
        }

        .cookie-banner button:focus-visible,
        .cookie-banner a:focus-visible {
            outline: none;
            box-shadow: var(--cb-focus);
            border-radius: 999px;
        }

    .cookie-banner[style*="display: none"] {
        visibility: hidden !important;
        pointer-events: none !important;
    }

.privacy-wrapper {
    width: min(980px, calc(100vw - 28px));
    margin: clamp(92px, 12vh, 128px) auto 34px auto;
    padding: clamp(22px, 3.4vw, 38px);
    position: relative;
    overflow: hidden;
    border-radius: calc(30px * var(--theme-radius-scale));
    border: 1px solid var(--theme-color-ffffff-6200);
    background: radial-gradient(820px 280px at 10% 0%, var(--theme-color-a50012-1200), transparent 58%), radial-gradient(720px 280px at 100% 0%, var(--theme-color-ffffff-7000), transparent 64%), linear-gradient(180deg, var(--theme-color-ffffff-9400), var(--theme-color-f1efeb-8800));
    box-shadow: 0 34px 90px var(--theme-color-000000-2000-shadow), 0 14px 38px var(--theme-color-000000-1200-shadow);
    backdrop-filter: blur(18px) saturate(1.12);
    -webkit-backdrop-filter: blur(18px) saturate(1.12);
    color: var(--cb-ink);
    line-height: 1.78;
    font-family:var(--theme-font);
}

    .privacy-wrapper::before {
        content: "";
        position: absolute;
        left: 28px;
        right: 28px;
        top: 0;
        height: 3px;
        border-radius: 999px;
        background: linear-gradient(90deg, var(--cb-accent), var(--theme-color-d51c2f-7200), transparent);
        opacity: .85;
    }

    .privacy-wrapper::after {
        content: "";
        position: absolute;
        inset: 0;
        pointer-events: none;
        background: linear-gradient(90deg, var(--theme-color-ffffff-3800), transparent 36%, var(--theme-color-ffffff-1800)), radial-gradient(780px 220px at 50% 0%, var(--theme-color-ffffff-6000), transparent 72%);
        opacity: .88;
    }

    .privacy-wrapper > * {
        position: relative;
        z-index: 1;
    }

    .privacy-wrapper h1,
    .privacy-wrapper h2,
    .privacy-wrapper h3 {
        color: var(--cb-ink);
        margin-top: 22px;
        margin-bottom: 10px;
        font-weight: 950;
        letter-spacing: -.035em;
    }

        .privacy-wrapper h1:first-child,
        .privacy-wrapper h2:first-child,
        .privacy-wrapper h3:first-child {
            margin-top: 0;
        }

    .privacy-wrapper h1 {
        font-size: clamp(1.8rem, 3vw, 2.45rem);
        line-height: 1.08;
    }

        .privacy-wrapper h1::after {
            content: "";
            display: block;
            width: 54px;
            height: 2px;
            margin-top: 14px;
            border-radius: 999px;
            background: linear-gradient(90deg, var(--cb-accent), var(--theme-color-a50012-1000));
        }

    .privacy-wrapper h2 {
        font-size: clamp(1.25rem, 2vw, 1.62rem);
        line-height: 1.18;
    }

    .privacy-wrapper h3 {
        font-size: clamp(1.08rem, 1.45vw, 1.24rem);
        line-height: 1.22;
    }

    .privacy-wrapper p {
        color: var(--theme-color-0d1117-8000);
        margin: 0 0 13px 0;
        font-size: 1.02rem;
    }

    .privacy-wrapper ul {
        padding-left: 1.15rem;
        margin: 0 0 16px 0;
    }

    .privacy-wrapper li {
        margin: 0 0 10px 0;
        color: var(--theme-color-0d1117-8000);
    }

        .privacy-wrapper li::marker {
            color: var(--cb-accent);
        }

    .privacy-wrapper a {
        color: var(--cb-accent);
        font-weight: 850;
        text-decoration: none;
        border-bottom: 1px solid var(--theme-color-a50012-2800);
        transition: border-color .18s ease, color .18s ease;
    }

        .privacy-wrapper a:hover {
            color: var(--cb-accent-dark);
            border-bottom-color: var(--theme-color-a50012-5800);
        }

@media (min-width: 1200px) {
    .cookie-banner {
        bottom: 28px;
    }
}

@media (max-width: 768px) {
    .cookie-banner {
        width: calc(100vw - 22px);
        bottom: 14px;
        min-height: unset;
        align-items: stretch;
        flex-direction: column;
        gap: 13px;
        padding: 17px 16px 16px;
        border-radius: calc(22px * var(--theme-radius-scale));
    }

        .cookie-banner::after {
            left: 16px;
            right: 16px;
        }

        .cookie-banner p {
            max-width: none;
            font-size: .96rem;
            line-height: 1.48;
        }

        .cookie-banner button {
            width: 100%;
            height: 46px;
        }

    .privacy-wrapper {
        width: calc(100vw - 22px);
        margin: 84px auto 24px auto;
        padding: 20px 18px;
        border-radius: calc(24px * var(--theme-radius-scale));
        font-size: 1rem;
    }
}

@media (max-width: 520px) {
    .cookie-banner {
        width: calc(100vw - 16px);
        bottom: 10px;
        padding: 15px 14px 14px;
        border-radius: calc(20px * var(--theme-radius-scale));
    }

        .cookie-banner p {
            font-size: .94rem;
        }

            .cookie-banner p::before {
                font-size: .74rem;
            }

    .privacy-wrapper {
        width: calc(100vw - 16px);
        margin: 74px auto 18px auto;
        padding: 18px 15px;
        border-radius: calc(22px * var(--theme-radius-scale));
    }

        .privacy-wrapper h1 {
            font-size: 1.78rem;
        }

        .privacy-wrapper p,
        .privacy-wrapper li {
            font-size: .98rem;
        }
}

@media (max-height: 640px) and (min-width: 769px) {
    .cookie-banner {
        bottom: 12px;
        min-height: 68px;
        padding-top: 13px;
        padding-bottom: 13px;
    }

        .cookie-banner button {
            height: 42px;
        }
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner,
    .cookie-banner *,
    .privacy-wrapper,
    .privacy-wrapper * {
        transition: none !important;
    }
}

 
.vp-cookie[hidden], .vp-cookie-preferences[hidden] { display:none!important; }
.vp-cookie { position:fixed;z-index:1080;bottom:max(16px,env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:min(860px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow:auto;background:#fff;color:#20353c;border:1px solid #dbe5e7;border-radius:18px;padding:24px;box-shadow:0 12px 44px rgba(14,35,42,.18);font-family:inherit; }
.vp-cookie .vp-cookie-eyebrow { display:block;color:#526b72;font-size:11px;font-weight:650;letter-spacing:.12em;text-transform:uppercase;margin-bottom:6px; }
.vp-cookie h2 { color:#20353c!important;font-size:21px!important;font-weight:650;line-height:1.3;margin:0 0 10px!important;letter-spacing:-.02em; }
.vp-cookie p { color:#52656b!important;font-size:14px!important;line-height:1.6;margin:0 0 18px!important; }
.vp-cookie a { color:#16636c;text-underline-offset:3px; }
.vp-cookie-actions { display:flex;flex-direction:column;align-items:stretch;gap:8px; }
.vp-cookie .vp-cookie-actions button { min-height:44px;border:1px solid #b8cbcf;border-radius:9px;background:#fff;color:#20353c;padding:10px 18px;font-family:inherit;font-size:14px;font-weight:600;line-height:1.4;cursor:pointer;box-shadow:none; }
.vp-cookie .vp-cookie-actions .vp-cookie-primary { background:#155d67;color:#fff;border-color:#155d67; }
.vp-cookie .vp-cookie-actions button:hover { background:#edf4f5; }
.vp-cookie .vp-cookie-actions .vp-cookie-primary:hover { background:#104c54; }
.vp-cookie button:focus-visible,.vp-cookie a:focus-visible,.vp-cookie-reopen:focus-visible { outline:2px solid #168795;outline-offset:3px; }
.vp-cookie-preferences { padding:16px;margin:0 0 18px;border:1px solid #dbe5e7;border-radius:10px;background:#f6f9f9; }
.vp-cookie-preferences > div { display:flex;flex-wrap:wrap;gap:8px;justify-content:space-between;font-size:14px;margin-bottom:8px; }
.vp-cookie-preferences > div > span { color:#41666b;font-size:12px; }
.vp-cookie-preferences p { margin:0!important; }
.vp-cookie-reopen-wrap { background:#1e292e;padding:0 24px 20px;text-align:center; }
.vp-cookie-reopen { background:none;border:0;padding:10px;color:#c6d7da;text-decoration:underline;text-underline-offset:4px;font-size:13px; }
@media(max-width:600px) { .vp-cookie { width:calc(100% - 20px);bottom:max(10px,env(safe-area-inset-bottom));padding:18px;border-radius:15px; }.vp-cookie h2 {font-size:19px!important;} }

@media(min-width:601px) {
 .vp-cookie { width:min(760px,calc(100% - 40px));padding:22px 24px;border-radius:14px; }
 .vp-cookie-actions { flex-direction:row;flex-wrap:wrap;align-items:center;gap:10px; }
 .vp-cookie .vp-cookie-actions button { flex:0 0 auto;width:auto;min-height:40px;padding:9px 15px;font-size:13px;font-weight:500; }
 .vp-cookie .vp-cookie-actions #cookie-preferences-toggle { border-color:transparent;background:transparent;padding-inline:8px;text-decoration:underline;text-underline-offset:3px;color:#52656b; }
 .vp-cookie .vp-cookie-actions #cookie-preferences-toggle:hover { color:#155d67;background:#f3f7f7; }
}
