.discord-btn.account-trigger {
  width: auto;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #65d894;
  border-radius: 7px;
  color: #0b1c12;
  background: #72f4a7;
  box-shadow: none;
  font-weight: 750;
}
.discord-btn[data-account-pending] { min-width: 42px; visibility: hidden; }
.account-wrap { position: relative; justify-self: end; margin-left: auto; }
.discord-btn.account-avatar {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  overflow: hidden;
  background: #1a2822;
  border-color: #3b584a;
  color: #bff9d3;
}
.account-avatar img { position: absolute; inset: 0; display: block; width: 40px; height: 40px; object-fit: cover; }
.account-menu {
  position: absolute;
  inset: calc(100% + 8px) 0 auto auto;
  z-index: 500;
  width: min(220px, 84vw);
  background: #121c18;
  border: 1px solid #35483e;
  border-radius: 9px;
  box-shadow: 0 15px 35px #0007;
  overflow: hidden;
}
.account-menu[hidden] { display: none; }
.account-menu p {
  padding: 13px;
  margin: 0 0 4px;
  color: #aac7b7;
  border-bottom: 1px solid #35483e;
  font-size: .8rem;
  overflow-wrap: anywhere;
}
.account-menu a, .account-menu button {
  display: block;
  width: 100%;
  padding: 11px 13px;
  text-align: left;
  color: #edf6f1;
  background: transparent;
  border: 0;
  font: inherit;
  font-size: .88rem;
  text-decoration: none;
  cursor: pointer;
}
.account-menu :is(a,button:not(:disabled)):is(:hover,:focus-visible) { background: #263a30; }
.account-menu button:disabled { color: #96afa1; cursor: default; }

.sign-in-page {
  margin: 0;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  box-sizing: border-box;
  padding: 24px;
  color: #eff9f3;
  font-family: system-ui, 'Segoe UI', sans-serif;
  background: radial-gradient(ellipse at 40% 20%, #1d3329, #0b1110 66%);
}
.sign-in-card {
  box-sizing: border-box;
  width: min(100%, 460px);
  padding: clamp(24px, 6vw, 38px);
  border: 1px solid #3c5b4a;
  border-top: 3px solid #72f4a7;
  border-radius: 14px;
  background: #15211b;
  box-shadow: 0 28px 70px #05090688;
}
.sign-in-brand { color: #72f4a7; letter-spacing: .12em; font-size: .73rem; font-weight: 800; }
.sign-in-card h1 { margin: 10px 0 12px; font-size: 2rem; letter-spacing: -.04em; }
.sign-in-card p { color: #b6c8bd; line-height: 1.55; }
.sign-in-action {
  display: block;
  margin: 24px 0 14px;
  padding: 13px;
  border-radius: 7px;
  text-align: center;
  background: #72f4a7;
  color: #102219;
  text-decoration: none;
  font-weight: 800;
}
.sign-in-back { color: #bcdbc8; font-size: .86rem; }
.sign-in-card .sign-in-note {
  margin: 22px 0 0;
  padding-top: 17px;
  border-top: 1px solid #3c5b4a;
  font-size: .79rem;
}
.sign-in-card .sign-in-error { color: #ffcfbd; font-size: .9rem; }
