.bugme-alert-bar,
.bugme-alert-bar * { box-sizing: border-box; }
.bugme-alert-bar[hidden], .bugme-alert-spacer[hidden] { display: none !important; }
.bugme-alert-bar {
    position: relative;
    width: 100%;
    margin: 0;
    padding: 12px 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 12px 24px;
    background: var(--bugme-bg, #16324f);
    color: var(--bugme-text, #fff);
    font: 400 16px/1.5 system-ui, sans-serif;
    isolation: isolate;
    z-index: 99990;
}
.bugme-alert-bar.dismissible { padding-inline: 56px; min-height: 48px; }
.bugme-alert-bar.sticky { position: fixed; left: 0; right: 0; box-shadow: 0 2px 5px #0002; }
.bugme-alert-top.sticky { top: var(--bugme-top, 0px); }
.bugme-alert-bottom.sticky { bottom: 0; padding-bottom: max(12px, env(safe-area-inset-bottom)); }
.bugme-alert-bar.is-visible { animation: bugme-reveal 180ms ease-out; }
.bugme-alert-content { flex: 0 1 auto; min-width: 0; max-width: 1100px; text-align: center; overflow-wrap: anywhere; }
.bugme-alert-content p { margin: 0; }
.bugme-alert-content a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.bugme-alert-bar .bugme-alert-cta {
    display: inline-flex;
    flex: 0 1 auto;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    max-width: 100%;
    padding: 8px 18px;
    border: 2px solid transparent;
    border-radius: 4px;
    background: var(--bugme-cta-bg, #fff);
    color: var(--bugme-cta-text, #16324f);
    font: inherit;
    font-weight: 650;
    text-align: center;
    text-decoration: none;
    overflow-wrap: anywhere;
}
.bugme-alert-bar .bugme-alert-cta:hover { text-decoration: underline; }
.bugme-alert-bar .bugme-alert-close {
    position: absolute;
    inset-inline-end: 4px;
    top: 4px;
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 3px;
    background: transparent;
    color: inherit;
    font: 28px/1 system-ui, sans-serif;
    cursor: pointer;
    box-shadow: none;
}
.bugme-alert-bar a:focus-visible, .bugme-alert-bar button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.bugme-alert-bar .bugme-alert-close:focus-visible { outline-offset: -4px; }
.bugme-alert-spacer { display: block; flex: none; width: 100%; margin: 0; padding: 0; pointer-events: none; }
.bugme-alert-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
@keyframes bugme-reveal { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 600px) {
    .bugme-alert-bar { gap: 10px; padding: 12px 16px; }
    .bugme-alert-bar.dismissible { padding-inline: 20px 56px; }
    .bugme-alert-content { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    .bugme-alert-bar.is-visible { animation: none; }
}
