/* Shared provider controls, scoped so both themes retain their brand contrast. */
:root #social-login,:root #social-link{display:grid;grid-template-columns:1fr;gap:12px;margin:24px 0 16px}
:root #social-login .social-auth-button,:root #social-link .social-auth-button{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;min-height:48px;padding:8px 12px;border:1px solid transparent;border-radius:12px;font-size:16px;line-height:24px;font-weight:600;box-shadow:0 8px 16px #1027391a;transition:opacity .3s cubic-bezier(.22,1,.36,1),transform .3s cubic-bezier(.22,1,.36,1);text-decoration:none}
:root .social-auth-button img{width:24px;height:24px;object-fit:contain;flex:none}
:root #social-login .social-auth-vk,:root #social-link .social-auth-vk{background:#0077ff;color:#fff}
:root #social-login .social-auth-yandex,:root #social-link .social-auth-yandex{background:#000;color:#fff}
:root #social-login .social-auth-button:hover:not(:disabled),:root #social-link .social-auth-button:hover:not(:disabled){opacity:.9;transform:translateY(-2px)}
:root #social-login .social-auth-button:active:not(:disabled),:root #social-link .social-auth-button:active:not(:disabled){transform:scale(.98)}
:root #social-login .social-auth-button:focus-visible,:root #social-link .social-auth-button:focus-visible{outline:3px solid #179b91;outline-offset:4px}
:root #social-login .social-auth-button:disabled,:root #social-link .social-auth-button:disabled{opacity:.55;cursor:wait}
:root #auth .auth-brand{margin-bottom:16px}
:root #auth #social-login-note{font-size:12px;line-height:16px;margin:8px 0 16px;color:var(--muted)}
:root #auth .auth-divider-v49{display:flex;align-items:center;gap:12px;margin:16px 0;color:var(--muted);font-size:14px;line-height:20px}
:root #auth .auth-divider-v49::before,:root #auth .auth-divider-v49::after{content:"";flex:1;height:1px;background:var(--line)}
:root #auth #auth-error{padding:12px;border-radius:12px;background:#fff0ed;color:#8c251f}
:root[data-theme="night"] #auth #auth-error,:root[data-theme="dark"] #auth #auth-error{background:#45241f;color:#ffe5df}
@media(prefers-reduced-motion:reduce){:root #social-login .social-auth-button,:root #social-link .social-auth-button{transition:opacity .3s cubic-bezier(.22,1,.36,1);transform:none!important}}
