.ga4-consent[hidden] {
    display: none;
}

.ga4-consent {
    position: fixed;
    z-index: 1000;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    width: auto;
    max-width: 34rem;
    margin-left: auto;
    padding: 1rem;
    border: 1px solid #53627a;
    border-radius: 0.75rem;
    background: #101927;
    color: #f3f5f8;
    box-shadow: 0 0.5rem 1.5rem #0005;
    font: 1rem / 1.5 system-ui, sans-serif;
}

.ga4-consent h2 {
    margin: 0;
    color: inherit;
    font: 700 1.125rem / 1.4 system-ui, sans-serif;
}

.ga4-consent p {
    margin: 0.5rem 0 0.75rem;
    color: inherit;
}

.ga4-consent__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.ga4-consent__actions a {
    padding: 0.5rem;
    color: #b6d6ff;
    text-decoration: underline;
}

.ga4-consent__actions button,
.ga4-settings {
    min-height: 2.75rem;
    font: inherit;
    cursor: pointer;
}

.ga4-consent__actions button {
    padding: 0.5rem 0.75rem;
    border: 1px solid #acbeda;
    border-radius: 0.375rem;
    background: #233451;
    color: #fff;
}

.ga4-settings {
    margin: 0.25rem 0.25rem 0;
    padding: 0.25rem;
    border: 0;
    background: none;
    color: inherit;
    text-decoration: underline;
}

.ga4-consent :focus-visible,
.ga4-settings:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 3px;
}
