.b-offline-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100dvh - var(--safe-area-top, 0px));
    padding: 24px 0;
    text-align: center;
}

.b-offline-screen .e-card-wrapper {
    width: 100%;
    max-width: 369px;
}

.b-offline-screen .e-card {
    padding: 32px 24px 24px;
    border-radius: 56px;
    background:
        linear-gradient(90deg, rgba(34, 211, 238, 0.02), rgba(34, 211, 238, 0.02)),
        rgba(0, 0, 0, 0.2);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.b-offline-screen .e-title {
    font-family: 'Manrope', sans-serif;
    font-size: 24px;
    font-weight: 600;
    line-height: 28px;
    color: #f6f6f6;
    margin: 0 0 12px;
}

.b-offline-screen .e-text {
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 18px;
    color: #c7cacb;
    margin: 0 0 24px;
}

.b-offline-screen .e-retry-btn {
    background: none;
    border: none;
    padding: 12px 0;
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 18px;
    color: #c7cacb;
    text-decoration: underline;
    cursor: pointer;
}

.b-connection-banner {
    position: fixed;
    top: calc(var(--safe-area-top, 0px) + 8px);
    left: 50%;
    z-index: 100001;
    display: flex;
    align-items: center;
    gap: 12px;
    width: calc(100% - 32px);
    max-width: 369px;
    padding: 10px 12px 10px 16px;
    border: 1px solid transparent;
    border-radius: 24px;
    background: rgba(9, 33, 42, 0.95);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
    transform: translateX(-50%);
    font-family: 'Manrope', sans-serif;
    font-size: 12px;
    line-height: 18px;
    color: #f6f6f6;
}

.b-connection-banner.m-slow {
    border-color: rgba(250, 204, 21, 0.5);
}

.b-connection-banner.m-restored {
    border-color: rgba(74, 222, 128, 0.5);
}

.b-connection-banner .e-text {
    flex: 1 1 auto;
}

.b-connection-banner .e-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}

.b-connection-banner .e-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #f6f6f6;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.b-connection-banner .e-btn.m-primary {
    background: rgba(34, 211, 238, 0.25);
}

.b-connection-banner .e-btn[hidden] {
    display: none;
}

/* The access-denied screen leads home with the main action button of the app */
.b-access-denied-screen .e-home-btn {
    display: block;
    margin: 0 auto;
    text-decoration: none;
}
