body.gate-locked {
    overflow: hidden;
}
#gate-overlay {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(13, 34, 64, .55);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
#gate-overlay .gate-card {
    position: relative;
    background: #fff;
    border-radius: 16px;
    max-width: 460px;
    width: 100%;
    padding: 28px 26px 24px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(13, 34, 64, .18);
}
#gate-overlay .gate-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f7f9fc;
    color: #5a6a7e;
    font-size: 1.3rem;
    line-height: 1;
    text-decoration: none;
    font-weight: 700;
    z-index: 1;
}
#gate-overlay .gate-close:hover {
    background: #edf4fb;
    color: #0d2240;
}
#gate-overlay .gate-pill {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #2362a8;
    background: #edf4fb;
    border-radius: 999px;
    padding: 6px 14px;
    margin-bottom: 14px;
}
#gate-overlay .gate-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #0d2240;
    line-height: 1.35;
    margin-bottom: 10px;
}
#gate-overlay .gate-text {
    font-size: .9rem;
    color: #5a6a7e;
    line-height: 1.55;
    margin-bottom: 18px;
}
#gate-overlay .gate-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}
#gate-overlay .gate-action {
    display: inline-flex;
    justify-content: center;
    width: 100%;
    max-width: 280px;
    text-decoration: none;
    border-radius: 999px;
    padding: 12px 22px;
    font-weight: 700;
    font-size: .9rem;
}
#gate-overlay .gate-action.primary {
    background: #2362a8;
    color: #fff;
}
#gate-overlay .gate-action.primary:hover {
    background: #184f87;
}
#gate-overlay .gate-action.secondary {
    background: #fff;
    color: #2362a8;
    border: 2px solid #2362a8;
}
#gate-overlay .gate-action.secondary:hover {
    background: #edf4fb;
}
#gate-overlay .gate-action.ghost {
    background: #f7f9fc;
    color: #0d2240;
    border: 1px solid #cdd8e8;
}
#gate-overlay .gate-note {
    margin-top: 12px;
    font-size: .8rem;
    color: #5e728b;
}
#gate-overlay .gate-action.hidden {
    display: none;
}