.fnrs-consent-lock {
    overflow: hidden;
}

#fnrs-consent-root,
#fnrs-consent-root * {
    box-sizing: border-box;
}

.fnrs-consent {
    color: #f7f7f5;
    background: linear-gradient(145deg, rgba(23, 24, 21, .96), rgba(11, 12, 11, .98));
    border: 1px solid rgba(255, 255, 255, .11);
    box-shadow: 0 18px 54px rgba(0, 0, 0, .42);
    font: 400 13px/1.45 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.fnrs-consent--banner {
    position: fixed;
    z-index: 2147483000;
    right: 16px;
    bottom: 16px;
    left: auto;
    display: grid;
    width: min(460px, calc(100vw - 32px));
    padding: 15px 16px 14px;
    gap: 12px;
    border-radius: 16px;
    backdrop-filter: blur(18px) saturate(120%);
    animation: fnrs-consent-arrive .32s cubic-bezier(.16, 1, .3, 1) both;
}

.fnrs-consent--banner::before {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 7px;
    height: 7px;
    background: var(--color-fanerse-green, #bbff1d);
    border-radius: 50%;
    box-shadow: 0 0 14px rgba(187, 255, 29, .34);
    content: "";
}

.fnrs-consent[hidden],
.fnrs-consent-modal[hidden],
.fnrs-consent-launcher[hidden] {
    display: none !important;
}

.fnrs-consent__copy {
    min-width: 0;
}

.fnrs-consent--banner .fnrs-consent__copy {
    padding-left: 17px;
}

.fnrs-consent h2 {
    margin: 0 0 3px;
    color: #fff;
    font-size: 14px;
    font-weight: 720;
    letter-spacing: -.01em;
}

.fnrs-consent p {
    margin: 0;
    color: rgba(255, 255, 255, .57);
}

.fnrs-consent--banner p {
    font-size: 12px;
}

.fnrs-consent__privacy {
    display: inline-block;
    margin-top: 5px;
    color: rgba(220, 255, 142, .88);
    font-size: 11px;
    text-decoration: none;
    text-underline-offset: 3px;
}

.fnrs-consent__privacy:hover {
    color: var(--color-fanerse-green, #bbff1d);
    text-decoration: underline;
}

.fnrs-consent__privacy:focus-visible {
    border-radius: 3px;
    outline: 2px solid var(--color-fanerse-green, #bbff1d);
    outline-offset: 3px;
}

.fnrs-consent__actions {
    display: flex;
    min-width: 0;
    gap: 7px;
    align-items: center;
    flex-wrap: wrap;
}

.fnrs-consent--banner .fnrs-consent__actions {
    padding-left: 17px;
}

.fnrs-consent button,
.fnrs-consent-launcher {
    min-height: 36px;
    padding: 7px 12px;
    color: rgba(255, 255, 255, .82);
    background: rgba(255, 255, 255, .055);
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 999px;
    font: 680 12px/1.2 Inter, ui-sans-serif, system-ui, sans-serif;
    cursor: pointer;
    transition: color .16s ease, background .16s ease, border-color .16s ease, transform .16s ease;
}

.fnrs-consent button:hover,
.fnrs-consent-launcher:hover {
    color: #fff;
    background: rgba(255, 255, 255, .09);
    border-color: rgba(187, 255, 29, .5);
}

.fnrs-consent button:focus-visible,
.fnrs-consent-launcher:focus-visible {
    outline: 2px solid var(--color-fanerse-green, #bbff1d);
    outline-offset: 3px;
}

.fnrs-consent button:active,
.fnrs-consent-launcher:active {
    transform: translateY(1px);
}

.fnrs-consent button.fnrs-consent__primary {
    color: #0a0b08;
    background: var(--color-fanerse-green, #bbff1d);
    border-color: var(--color-fanerse-green, #bbff1d);
}

.fnrs-consent button.fnrs-consent__primary:hover {
    background: #c6ff3c;
}

.fnrs-consent-modal {
    position: fixed;
    z-index: 2147483001;
    inset: 0;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(3, 4, 3, .52);
    backdrop-filter: blur(10px);
}

.fnrs-consent--preferences {
    position: relative;
    width: min(100%, 530px);
    max-height: min(680px, calc(100vh - 36px));
    padding: 22px;
    overflow: auto;
    border-radius: 19px;
}

.fnrs-consent--preferences > h2 {
    padding-right: 44px;
    font-size: 17px;
}

.fnrs-consent__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    min-height: 34px !important;
    padding: 0 !important;
    font-size: 20px !important;
}

.fnrs-consent-category {
    position: relative;
    display: flex;
    min-height: 66px;
    margin-top: 10px;
    padding: 11px 74px 11px 12px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .09);
    border-radius: 13px;
    background: rgba(255, 255, 255, .018);
}

.fnrs-consent-category strong {
    display: block;
    margin-bottom: 2px;
    color: rgba(255, 255, 255, .94);
    font-size: 13px;
}

.fnrs-consent-category p {
    font-size: 12px;
}

.fnrs-consent-category input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.fnrs-consent-toggle {
    position: absolute;
    right: 14px;
    width: 42px;
    height: 24px;
    background: rgba(255, 255, 255, .15);
    border-radius: 999px;
    transition: background .16s ease;
}

.fnrs-consent-toggle::after {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 1px 5px rgba(0, 0, 0, .3);
    content: "";
    transition: transform .16s ease;
}

.fnrs-consent-category input:checked + .fnrs-consent-toggle {
    background: #8cc900;
}

.fnrs-consent-category input:checked + .fnrs-consent-toggle::after {
    transform: translateX(18px);
}

.fnrs-consent-category input:focus-visible + .fnrs-consent-toggle {
    outline: 2px solid var(--color-fanerse-green, #bbff1d);
    outline-offset: 3px;
}

.fnrs-consent__always {
    position: absolute;
    right: 14px;
    color: var(--color-fanerse-green, #bbff1d);
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .03em;
    text-transform: uppercase;
}

.fnrs-consent__actions--modal {
    margin-top: 16px;
}

.fnrs-consent__privacy--modal {
    margin-top: 13px;
}

.fnrs-consent-launcher {
    position: fixed;
    z-index: 2147482999;
    right: 12px;
    bottom: 12px;
    display: grid;
    width: 34px;
    min-height: 34px;
    padding: 0;
    place-items: center;
    color: rgba(255, 255, 255, .62);
    background: rgba(16, 17, 15, .78);
    border-color: rgba(255, 255, 255, .09);
    box-shadow: 0 7px 22px rgba(0, 0, 0, .26);
    backdrop-filter: blur(12px);
}

.fnrs-consent-launcher svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

@keyframes fnrs-consent-arrive {
    from { opacity: 0; transform: translateY(9px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 600px) {
    .fnrs-consent--banner {
        right: 8px;
        bottom: 8px;
        left: 8px;
        width: calc(100vw - 16px);
        padding: 13px 13px 12px;
        gap: 10px;
        border-radius: 15px;
    }

    .fnrs-consent--banner::before {
        top: 14px;
        left: 13px;
    }

    .fnrs-consent--banner .fnrs-consent__copy,
    .fnrs-consent--banner .fnrs-consent__actions {
        padding-left: 16px;
    }

    .fnrs-consent__actions {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        width: 100%;
    }

    .fnrs-consent__actions button {
        min-width: 0;
        padding-right: 8px;
        padding-left: 8px;
    }

    .fnrs-consent--preferences {
        padding: 19px 14px 15px;
    }

    .fnrs-consent__actions--modal {
        display: flex;
    }

    .fnrs-consent__actions--modal button {
        flex: 1 1 44%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .fnrs-consent--banner {
        animation: none;
    }

    .fnrs-consent button,
    .fnrs-consent-launcher,
    .fnrs-consent-toggle,
    .fnrs-consent-toggle::after {
        transition: none;
    }
}
