.gq-consent[hidden],
.gq-consent__preferences[hidden],
.gq-consent-manage[hidden] {
    display: none !important;
}

.gq-consent {
    position: fixed !important;
    inset: 0 !important;
    z-index: 2147483647 !important;

    display: flex;
    align-items: flex-end;
    justify-content: center;

    padding: 20px;

    background: rgba(0, 0, 0, 0.7);

    isolation: isolate;
    pointer-events: auto;
}

.gq-consent__box {
    position: relative;
    z-index: 1;

    width: min(760px, 100%);
    max-height: calc(100vh - 40px);

    overflow-y: auto;

    padding: 24px;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 18px;

    background: #0b0d12;
    color: #ffffff;

    box-shadow: 0 22px 70px rgba(0, 0, 0, 0.45);

    pointer-events: auto;
}

.gq-consent__main {
    position: relative;
    z-index: 2;
}

.gq-consent__eyebrow {
    margin: 0 0 8px;

    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.14em;

    color: #4ea1ff;
}

.gq-consent h2 {
    margin: 0 0 12px;

    font-size: clamp(22px, 3vw, 30px);
    line-height: 1.15;

    color: #ffffff;
}

.gq-consent p {
    margin: 0;

    color: #b9c0cc;

    line-height: 1.6;
}

.gq-consent__preferences {
    position: relative;
    z-index: 2;

    margin-top: 20px;
    padding-top: 6px;
}

.gq-consent__option {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 18px;

    padding: 15px 0;

    border-top: 1px solid rgba(255, 255, 255, 0.09);
}

.gq-consent__option div {
    display: flex;
    flex-direction: column;

    gap: 4px;
}

.gq-consent__option strong {
    color: #ffffff;

    font-size: 15px;
}

.gq-consent__option span {
    color: #9da6b4;

    font-size: 13px;
}

.gq-consent__option input[type="checkbox"] {
    width: 20px;
    height: 20px;

    flex: 0 0 20px;

    cursor: pointer;
}

.gq-consent__required {
    font-weight: 700;

    white-space: nowrap;

    color: #6db7ff !important;
}

.gq-consent__actions {
    position: relative;
    z-index: 3;

    display: flex;
    flex-wrap: wrap;

    gap: 10px;

    margin-top: 22px;

    pointer-events: auto;
}

.gq-consent__button {
    position: relative;
    z-index: 4;

    min-height: 44px;

    padding: 11px 16px;

    border: 1px solid transparent;
    border-radius: 10px;

    cursor: pointer;

    font: inherit;
    font-weight: 800;

    pointer-events: auto;
}

.gq-consent__button--primary {
    border-color: #3f8cff;

    background: #3f8cff;
    color: #ffffff;
}

.gq-consent__button--secondary {
    border-color: rgba(255, 255, 255, 0.18);

    background: transparent;
    color: #ffffff;
}

.gq-consent__button:hover {
    filter: brightness(1.08);
}

.gq-consent__button:focus-visible {
    outline: 3px solid rgba(78, 161, 255, 0.75);
    outline-offset: 3px;
}

.gq-consent__preferences > .gq-consent__button {
    width: 100%;

    margin-top: 10px;
}

.gq-consent-manage {
    position: fixed !important;

    right: 16px;
    bottom: 16px;

    z-index: 2147483646 !important;

    padding: 9px 12px;

    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;

    background: #0b0d12;
    color: #ffffff;

    cursor: pointer;

    font-size: 12px;
    font-weight: 700;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);

    pointer-events: auto;
}

.gq-consent-manage:hover {
    filter: brightness(1.08);
}

.gq-consent-manage:focus-visible {
    outline: 3px solid rgba(78, 161, 255, 0.75);
    outline-offset: 3px;
}

@media (max-width: 640px) {

    .gq-consent {
        padding: 10px;
    }

    .gq-consent__box {
        padding: 18px;

        border-radius: 15px;
    }

    .gq-consent__actions {
        flex-direction: column;
    }

    .gq-consent__button {
        width: 100%;
    }

    .gq-consent__option {
        align-items: flex-start;
    }

    .gq-consent-manage {
        right: 10px;
        bottom: 10px;
    }
}