.gh-auth-session-blocker {
    position: fixed;
    z-index: 2147483000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    padding: max(24px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
    background: rgba(19, 25, 35, 0.9);
    color: #1c2330;
}

.gh-auth-session-blocker__dialog {
    width: min(100%, 380px);
    box-sizing: border-box;
    padding: 28px 24px 24px;
    border: 1px solid #d7dce3;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.24);
}

.gh-auth-session-blocker__eyebrow {
    margin: 0 0 10px;
    color: #b42342;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.gh-auth-session-blocker__dialog h1 {
    margin: 0;
    color: #1c2330;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: 0;
}

.gh-auth-session-blocker__message,
.gh-auth-session-blocker__reason {
    margin: 14px 0 0;
    color: #586273;
    font-size: 15px;
    line-height: 1.65;
    overflow-wrap: anywhere;
}

.gh-auth-session-blocker__reason {
    padding: 10px 12px;
    border-left: 3px solid #d83b61;
    background: #fff3f6;
    color: #8c1f3a;
    font-size: 14px;
}

.gh-auth-session-blocker__action {
    display: block;
    width: 100%;
    min-height: 44px;
    margin-top: 22px;
    border: 0;
    border-radius: 6px;
    background: #1b9a8a;
    color: #ffffff;
    font: inherit;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0;
}

.gh-auth-session-blocker__action:active {
    opacity: 0.82;
    transform: scale(0.98);
}

.gh-auth-session-blocker__action:focus-visible {
    outline: 3px solid #8cd7ce;
    outline-offset: 3px;
}

body.gh-auth-signin-required > :not(.gh-auth-signin-state) {
    display: none;
}

.gh-auth-signin-state {
    min-height: 100vh;
    min-height: 100dvh;
    box-sizing: border-box;
    padding: max(24px, env(safe-area-inset-top)) 24px max(24px, env(safe-area-inset-bottom));
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fffafd;
    color: #1c2330;
}

.gh-auth-signin-state .gh-auth-session-blocker__dialog {
    box-shadow: 0 8px 28px rgba(28, 35, 48, 0.06);
}

.gh-auth-restore-status {
    display: none;
    padding: 24px;
    text-align: center;
    color: #586273;
}

.gh-auth-restoring .login-card {
    display: none;
}

.gh-auth-restoring .gh-auth-restore-status {
    display: block;
}
