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

.gd-consent {
    position: fixed;
    inset: auto 16px 16px 16px;
    z-index: 2147483000;
    font-family: inherit;
}

.gd-consent__panel {
    max-width: 760px;
    margin: 0 auto;
    background: #fff;
    color: #202124;
    border: 1px solid #dadce0;
    border-top: 4px solid #4285f4;
    border-radius: 8px;
    box-shadow: 0 18px 50px rgba(32, 33, 36, .22);
    padding: 20px;
}

.gd-consent__eyebrow {
    margin: 0 0 6px;
    color: #188038;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
    text-transform: uppercase;
}

.gd-consent h2 {
    margin: 0 0 8px;
    color: #202124;
    font-size: 22px;
    line-height: 1.2;
}

.gd-consent p {
    margin: 0;
    color: #5f6368;
    font-size: 14px;
    line-height: 1.5;
}

.gd-consent__preferences {
    display: grid;
    gap: 10px;
    margin-top: 16px;
}

.gd-consent__option {
    display: grid;
    grid-template-columns: 20px 1fr;
    gap: 10px;
    align-items: start;
    padding: 10px;
    border: 1px solid #e8eaed;
    border-radius: 8px;
}

.gd-consent__option input {
    margin-top: 3px;
}

.gd-consent__option strong,
.gd-consent__option small {
    display: block;
}

.gd-consent__option strong {
    color: #202124;
    font-size: 14px;
}

.gd-consent__option small {
    color: #5f6368;
    font-size: 12px;
    line-height: 1.4;
}

.gd-consent__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 18px;
}

.gd-consent__button {
    min-height: 40px;
    border-radius: 6px;
    border: 1px solid #dadce0;
    padding: 8px 14px;
    font-size: 14px;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
}

.gd-consent__button--primary {
    background: #4285f4;
    border-color: #4285f4;
    color: #fff;
}

.gd-consent__button--ghost {
    background: #fff;
    color: #1a73e8;
}

.gd-consent__button:focus {
    outline: 3px solid rgba(251, 188, 5, .55);
    outline-offset: 2px;
}

.gd-consent__manage {
    position: fixed;
    left: 10px;
    bottom: 10px;
    z-index: 2147482999;
    width: 24px !important;
    height: 24px !important;
    min-width: 24px !important;
    border: 0 !important;
    border-radius: 50% !important;
    padding: 0 !important;
    background: transparent !important;
    color: rgba(95, 99, 104, .42) !important;
    box-shadow: none !important;
    font: inherit;
    font-size: 17px !important;
    line-height: 24px !important;
    cursor: pointer;
}

.gd-consent__manage::before {
    content: "🍪";
    display: block;
    filter: grayscale(1);
    opacity: .65;
}

.gd-consent__manage-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.gd-consent__manage:hover {
    color: rgba(95, 99, 104, .7);
}

@media (max-width: 640px) {
    .gd-consent {
        inset: auto 10px 10px 10px;
    }

    .gd-consent__panel {
        padding: 16px;
    }

    .gd-consent__actions,
    .gd-consent__button {
        width: 100%;
    }
}
