.gf-global-event-alert {
    position: fixed;
    inset: auto 22px 22px auto;
    z-index: 4000;
    width: min(520px, calc(100vw - 32px));
    padding: 14px 48px 14px 14px;
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    border: 1px solid rgba(126, 231, 240, .42);
    border-radius: 20px;
    color: #fff;
    background: radial-gradient(circle at 8% 10%, rgba(75, 224, 237, .24), transparent 38%), rgba(8, 13, 42, .96);
    box-shadow: 0 24px 70px rgba(3, 6, 26, .45), 0 0 36px rgba(89, 211, 231, .15);
    backdrop-filter: blur(18px);
    animation: gf-global-event-alert-in .35s cubic-bezier(.2, .8, .2, 1) both;
}

.gf-global-event-alert[hidden] { display: none !important; }
.gf-global-event-alert.is-live { border-color: rgba(253, 230, 138, .75); box-shadow: 0 24px 70px rgba(3, 6, 26, .5), 0 0 42px rgba(253, 190, 68, .24); }
.gf-global-event-alert.is-new { animation: gf-global-event-alert-pulse .75s ease both; }
.gf-global-event-alert__icon { width: 48px; aspect-ratio: 1; display: grid; place-items: center; border-radius: 16px; color: #dffcff; background: linear-gradient(145deg, #765cff, #20c9d8); font-size: 1.35rem; box-shadow: 0 9px 24px rgba(80, 80, 230, .35); }
.gf-global-event-alert__copy { min-width: 0; display: grid; gap: 2px; }
.gf-global-event-alert__copy small { color: #8ff3fa; font-size: .62rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.gf-global-event-alert__copy strong { overflow: hidden; color: #fff; font-size: .94rem; text-overflow: ellipsis; white-space: nowrap; }
.gf-global-event-alert__copy span { color: #cbd5f1; font-size: .75rem; line-height: 1.35; }
.gf-global-event-alert__join { padding: 9px 13px; border-radius: 12px; color: #111633; background: #9af5ff; font-size: .72rem; font-weight: 900; white-space: nowrap; text-decoration: none; }
.gf-global-event-alert__join:hover, .gf-global-event-alert__join:focus-visible { color: #111633; background: #fff; transform: translateY(-1px); }
.gf-global-event-alert__close { position: absolute; inset: 8px 8px auto auto; width: 30px; aspect-ratio: 1; border: 0; border-radius: 10px; color: #aeb8d6; background: transparent; cursor: pointer; }
.gf-global-event-alert__close:hover, .gf-global-event-alert__close:focus-visible { color: #fff; background: rgba(255,255,255,.09); }

[dir='rtl'] .gf-global-event-alert { inset-inline: 22px auto; padding: 14px 14px 14px 48px; }
[dir='rtl'] .gf-global-event-alert__close { inset: 8px auto auto 8px; }

@keyframes gf-global-event-alert-in { from { opacity: 0; transform: translateY(18px) scale(.97); } }
@keyframes gf-global-event-alert-pulse { 35% { transform: scale(1.025); filter: brightness(1.15); } }

@media (max-width: 640px) {
    .gf-global-event-alert { inset: auto 12px 12px; width: auto; grid-template-columns: 42px minmax(0, 1fr); }
    .gf-global-event-alert__icon { width: 42px; }
    .gf-global-event-alert__join { grid-column: 1 / -1; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
    .gf-global-event-alert, .gf-global-event-alert.is-new { animation: none; }
}
