:root {
    --pcc-navy: #07111f;
    --pcc-navy-soft: #0f1f33;
    --pcc-gold: #f59e0b;
    --pcc-white: #ffffff;
    --pcc-slate-50: #f8fafc;
    --pcc-slate-200: #e2e8f0;
    --pcc-slate-500: #64748b;
    --pcc-slate-700: #334155;
    --pcc-slate-900: #0f172a;
}

.pcc-root,
.pcc-root * {
    box-sizing: border-box;
}

.pcc-root {
    position: relative;
    z-index: 2147483000;
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

.pcc-root [hidden] {
    display: none !important;
}

.pcc-banner {
    position: fixed;
    right: 20px;
    bottom: 20px;
    left: 20px;
    z-index: 2147483000;
    max-width: 1180px;
    margin: 0 auto;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 26px;
    background:
        radial-gradient(
            circle at 8% 0%,
            rgba(37, 99, 235, 0.22),
            transparent 32%
        ),
        linear-gradient(
            135deg,
            rgba(7, 17, 31, 0.98),
            rgba(15, 31, 51, 0.98)
        );
    color: var(--pcc-white);
    box-shadow:
        0 30px 90px rgba(2, 6, 23, 0.45),
        0 10px 30px rgba(2, 6, 23, 0.26);
    backdrop-filter: blur(18px);
}

.pcc-banner__content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: center;
    padding: 24px;
}

.pcc-banner__copy {
    display: flex;
    min-width: 0;
    align-items: flex-start;
    gap: 16px;
}

.pcc-shield {
    display: flex;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(110, 231, 183, 0.24);
    border-radius: 16px;
    background: rgba(16, 185, 129, 0.12);
    color: #6ee7b7;
}

.pcc-shield svg,
.pcc-icon-button svg,
.pcc-floating-button svg {
    width: 24px;
    height: 24px;
}

.pcc-banner__title,
.pcc-dialog__title,
.pcc-category h3 {
    margin: 0;
}

.pcc-banner__title {
    font-size: 18px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.pcc-banner__summary {
    max-width: 760px;
    margin: 7px 0 0;
    color: rgba(226, 232, 240, 0.82);
    font-size: 13px;
    line-height: 1.7;
}

.pcc-policy-link {
    display: inline-flex;
    margin-top: 8px;
    color: #93c5fd;
    font-size: 12px;
    font-weight: 800;
    text-underline-offset: 3px;
}

.pcc-policy-link:hover {
    color: #bfdbfe;
}

.pcc-banner__actions,
.pcc-dialog__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
}

.pcc-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 10px 17px;
    font: inherit;
    font-size: 12px;
    font-weight: 900;
    line-height: 1.2;
    cursor: pointer;
    transition:
        transform 160ms ease,
        background 160ms ease,
        border-color 160ms ease,
        color 160ms ease;
}

.pcc-button:hover {
    transform: translateY(-1px);
}

.pcc-button:focus-visible,
.pcc-icon-button:focus-visible,
.pcc-floating-button:focus-visible,
.pcc-switch input:focus-visible + .pcc-switch__track {
    outline: 3px solid rgba(96, 165, 250, 0.5);
    outline-offset: 3px;
}

.pcc-button--primary {
    background:
        linear-gradient(
            135deg,
            var(--pcc-gold),
            #fbbf24
        );
    color: #422006;
}

.pcc-button--secondary {
    border-color: rgba(148, 163, 184, 0.35);
    background: rgba(255, 255, 255, 0.08);
    color: var(--pcc-white);
}

.pcc-button--ghost {
    border-color: rgba(96, 165, 250, 0.3);
    background: rgba(37, 99, 235, 0.12);
    color: #bfdbfe;
}

.pcc-dialog-backdrop {
    position: fixed;
    inset: 0;
    z-index: 2147483001;
    display: grid;
    place-items: center;
    padding: 20px;
    background: rgba(2, 6, 23, 0.76);
    backdrop-filter: blur(12px);
}

.pcc-dialog {
    width: min(720px, 100%);
    max-height: min(88vh, 860px);
    overflow: auto;
    border: 1px solid rgba(148, 163, 184, 0.28);
    border-radius: 28px;
    background: var(--pcc-white);
    color: var(--pcc-slate-900);
    box-shadow: 0 40px 120px rgba(2, 6, 23, 0.55);
}

.pcc-dialog__header,
.pcc-dialog__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 22px 24px;
}

.pcc-dialog__header {
    border-bottom: 1px solid var(--pcc-slate-200);
}

.pcc-dialog__footer {
    border-top: 1px solid var(--pcc-slate-200);
}

.pcc-dialog__eyebrow {
    margin: 0 0 5px;
    color: #2563eb;
    font-size: 10px;
    font-weight: 950;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.pcc-dialog__title {
    font-size: 23px;
    font-weight: 950;
    letter-spacing: -0.035em;
}

.pcc-icon-button {
    display: inline-flex;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--pcc-slate-200);
    border-radius: 14px;
    background: var(--pcc-slate-50);
    color: var(--pcc-slate-700);
    cursor: pointer;
}

.pcc-dialog__body {
    padding: 24px;
}

.pcc-dialog__intro {
    margin: 0 0 20px;
    color: var(--pcc-slate-500);
    font-size: 13px;
    line-height: 1.75;
}

.pcc-category {
    border: 1px solid var(--pcc-slate-200);
    border-radius: 20px;
    background: var(--pcc-white);
}

.pcc-category + .pcc-category {
    margin-top: 13px;
}

.pcc-category__content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 17px;
}

.pcc-category h3 {
    font-size: 14px;
    font-weight: 900;
}

.pcc-category p {
    margin: 5px 0 0;
    color: var(--pcc-slate-500);
    font-size: 12px;
    line-height: 1.65;
}

.pcc-always-active {
    display: inline-flex;
    flex: 0 0 auto;
    border-radius: 999px;
    padding: 7px 10px;
    background: #ecfdf5;
    color: #047857;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.pcc-switch {
    position: relative;
    display: inline-flex;
    width: 50px;
    height: 28px;
    flex: 0 0 50px;
    cursor: pointer;
}

.pcc-switch input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.pcc-switch__track {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: #cbd5e1;
    transition: background 180ms ease;
}

.pcc-switch__track::after {
    position: absolute;
    top: 4px;
    left: 4px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--pcc-white);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.2);
    content: "";
    transition: transform 180ms ease;
}

.pcc-switch input:checked + .pcc-switch__track {
    background: #10b981;
}

.pcc-switch input:checked + .pcc-switch__track::after {
    transform: translateX(22px);
}

.pcc-floating-button {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 2147482999;
    display: inline-flex;
    width: 48px;
    height: 48px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(148, 163, 184, 0.32);
    border-radius: 16px;
    background: rgba(7, 17, 31, 0.94);
    color: #bfdbfe;
    box-shadow: 0 15px 40px rgba(2, 6, 23, 0.34);
    cursor: pointer;
    backdrop-filter: blur(12px);
}

.pcc-sr-only {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

html.pcc-scroll-lock,
html.pcc-scroll-lock body {
    overflow: hidden;
}

@media (max-width: 920px) {
    .pcc-banner__content {
        grid-template-columns: 1fr;
    }

    .pcc-banner__actions {
        justify-content: flex-start;
    }
}

@media (max-width: 640px) {
    .pcc-banner {
        right: 10px;
        bottom: 10px;
        left: 10px;
        border-radius: 22px;
    }

    .pcc-banner__content {
        gap: 18px;
        padding: 18px;
    }

    .pcc-banner__actions,
    .pcc-dialog__actions {
        display: grid;
        width: 100%;
        grid-template-columns: 1fr;
    }

    .pcc-button {
        width: 100%;
    }

    .pcc-dialog-backdrop {
        align-items: end;
        padding: 0;
    }

    .pcc-dialog {
        width: 100%;
        max-height: 92vh;
        border-radius: 26px 26px 0 0;
    }

    .pcc-dialog__header,
    .pcc-dialog__footer {
        align-items: flex-start;
        padding: 18px;
    }

    .pcc-dialog__footer {
        flex-direction: column;
    }

    .pcc-dialog__body {
        padding: 18px;
    }

    .pcc-category__content {
        align-items: flex-start;
    }

    .pcc-floating-button {
        right: 12px;
        bottom: 12px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .pcc-root *,
    .pcc-root *::before,
    .pcc-root *::after {
        transition-duration: 0.01ms !important;
    }
}
