/* Local styles for the legacy OAuth page; no executable CDN dependency. */
*, ::before, ::after { box-sizing: border-box; border: 0 solid; }
html { line-height: 1.5; font-family: ui-sans-serif, system-ui, sans-serif; }
body { margin: 0; min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(to bottom right, #40377e, #101729, #342278); }
h1, p { margin: 0; }
main { width: 100%; max-width: 28rem; padding: 0 .5rem; }
.blur-card { border-radius: 1rem; padding: 2rem 2rem 1.75rem; display: flex;
  flex-direction: column; align-items: center; gap: 1.75rem; }
.oauth-brand { display: flex; flex-direction: column; align-items: center; gap: .25rem; width: 100%; }
.oauth-logo { width: 4rem; height: 4rem; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; position: relative; overflow: hidden; background: rgb(15 23 42 / .8);
  box-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1); }
.oauth-logo-image { display: block; width: 3rem; height: 3rem; object-fit: contain; margin: auto; }
.oauth-glow { position: absolute; inset: 0; z-index: -10; border-radius: 50%; }
h1 { font-size: 1.875rem; line-height: 2.25rem; font-weight: 700; color: white; letter-spacing: -.025em; }
h1 span { font-weight: 200; color: #c7d2fe; }
.oauth-brand p { margin-top: .25rem; color: #c7d2fe; font-size: .875rem; line-height: 1.25rem; letter-spacing: .025em; }
#status { width: 100%; text-align: center; color: #e2e8f0; font-size: 1rem; min-height: 1.7em; font-weight: 500; }
#loaderbar-container { position: fixed; z-index: 50; left: 0; right: 0; top: 0; height: .75rem; pointer-events: none; }
#loaderbar { margin: auto; }
#discord-login { width: 100%; display: flex; align-items: center; justify-content: center; gap: .75rem;
  padding: .75rem 1.25rem; border-radius: .75rem; font: inherit; font-size: 1.125rem; line-height: 1.75rem;
  font-weight: 600; color: white; cursor: pointer; transition: all .2s;
  background: linear-gradient(to right, #6366f1, #818cf8, #60a5fa);
  box-shadow: 0 4px 6px -1px rgb(67 56 202 / .2); }
#discord-login:hover { background: linear-gradient(to right, #818cf8, #818cf8, #3b82f6); }
#discord-login:focus-visible { outline: 2px solid rgb(199 210 254 / .7); outline-offset: 2px; }
#discord-login svg { width: 1.75rem; height: 1.75rem; flex-shrink: 0; }
@media (min-width: 768px) { h1 { font-size: 2.25rem; line-height: 2.5rem; } }
