/* In-network sign-in / register: site branding, compact icon-only provider row, Powered by Qorble badge.
   Used on Wordleverse /login and /register, the Qorble-hosted embed window, and the first-party modal.
   Site chrome (heading, primary Log in / Sign In, links, badge) uses --auth-accent.
   Provider buttons use each provider's own brand colors, not the site accent. */
.wv-in-network-auth { max-width: 26rem; }
.wv-in-network-card { position: relative; padding-bottom: 2.4rem; }
.wv-in-network-brand { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.15rem; }
.wv-in-network-logo, .qs-site-logo { width: 2.5rem; height: 2.5rem; object-fit: contain; flex: none; }
.wv-in-network-brand h1, .qs-title.qs-in-network-title { font-size: 1.35rem; font-weight: 800; margin: 0; line-height: 1.2; }
.wv-auth-providers, .qs-providers { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem .75rem; margin-bottom: .25rem; }
.wv-auth-with { font-size: .9rem; font-weight: 600; color: var(--bs-secondary-color, #5b6070); line-height: 1; }
.wv-auth-provider-row { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .45rem; }
.wv-auth-provider, .qs-providers a.wv-auth-provider, a.wv-auth-provider {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.35rem;
    height: 2.35rem;
    min-height: 2.35rem;
    padding: 0;
    border-radius: .5rem;
    border-width: 1px;
    border-style: solid;
    font-size: 1.05rem;
    line-height: 1;
    text-decoration: none;
}
.wv-auth-provider .wv-auth-provider-logo { display: block; width: 1.15rem; height: 1.15rem; }
.wv-auth-provider-google {
    background: #fff;
    border-color: #747775;
    color: #1f1f1f;
}
.wv-auth-provider-google:hover, .wv-auth-provider-google:focus, .wv-auth-provider-google:focus-visible {
    background: #f8f8f8;
    border-color: #747775;
    color: #1f1f1f;
}
/* Official dark-theme Google button; the light .qs embed card stays white even when <html> is dark. */
[data-bs-theme="dark"] .wv-auth-provider-google {
    background: #131314;
    border-color: #8e918f;
    color: #e3e3e3;
}
[data-bs-theme="dark"] .wv-auth-provider-google:hover,
[data-bs-theme="dark"] .wv-auth-provider-google:focus,
[data-bs-theme="dark"] .wv-auth-provider-google:focus-visible {
    background: #1f1f1f;
    border-color: #8e918f;
    color: #e3e3e3;
}
[data-bs-theme="dark"] .qs .wv-auth-provider-google {
    background: #fff;
    border-color: #747775;
    color: #1f1f1f;
}
[data-bs-theme="dark"] .qs .wv-auth-provider-google:hover,
[data-bs-theme="dark"] .qs .wv-auth-provider-google:focus,
[data-bs-theme="dark"] .qs .wv-auth-provider-google:focus-visible {
    background: #f8f8f8;
    border-color: #747775;
    color: #1f1f1f;
}
.wv-auth-provider-discord, .btn-discord {
    background: #5865F2;
    border-color: #5865F2;
    color: #fff;
}
.wv-auth-provider-discord:hover, .wv-auth-provider-discord:focus, .wv-auth-provider-discord:focus-visible,
.btn-discord:hover, .btn-discord:focus {
    background: #4752C4;
    border-color: #4752C4;
    color: #fff;
}
.wv-auth-provider-qorble {
    background: var(--auth-accent, var(--q-accent, #7c5cff));
    border-color: var(--auth-accent, var(--q-accent, #7c5cff));
    color: #fff;
    font-weight: 800;
    font-size: .95rem;
}
.wv-auth-provider-qorble:hover, .wv-auth-provider-qorble:focus, .wv-auth-provider-qorble:focus-visible {
    background: var(--auth-accent-hover, var(--q-accent-hover, #6847f0));
    border-color: var(--auth-accent-hover, var(--q-accent-hover, #6847f0));
    color: #fff;
}
.wv-auth-or, .qs-or { display: flex; align-items: center; gap: .65rem; color: var(--bs-secondary-color, #5b6070); font-size: .8rem; margin: .9rem 0 1rem; }
.wv-auth-or::before, .wv-auth-or::after, .qs-or::before, .qs-or::after { content: ""; flex: 1; border-top: 1px solid var(--bs-border-color, rgba(128,128,128,.35)); }
.wv-powered-by-qorble {
    position: absolute;
    right: .9rem;
    bottom: .65rem;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .01em;
    line-height: 1;
    color: #5b6070;
    text-decoration: none;
}
.wv-powered-by-qorble:hover, .wv-powered-by-qorble:focus { color: #3b3f4a; text-decoration: underline; }
[data-bs-theme="dark"] .wv-powered-by-qorble { color: #c5cad6; }
[data-bs-theme="dark"] .wv-powered-by-qorble:hover,
[data-bs-theme="dark"] .wv-powered-by-qorble:focus { color: #eef1f6; }
@media (max-width: 575.98px) {
    .wv-powered-by-qorble { right: .85rem; bottom: .6rem; }
}
