/* Connected account — understated controls aligned with Account Settings. */
.account-wrap .discord-account{
  margin:3px 0 26px;padding:20px;border:1px solid rgba(160,100,200,0.35);
  border-radius:13px;background:rgba(24,18,30,0.93);
}
.account-wrap .discord-account-head{display:flex;align-items:center;gap:14px}
.account-wrap .discord-mark{
  display:grid;place-items:center;flex:0 0 43px;width:43px;height:43px;
  border-radius:11px;color:#d8a3ff;background:#23182d;border:1px solid #62417a;
  font-size:1.35rem
}
.account-wrap .discord-account-name{flex:1;min-width:0}
.account-wrap .discord-account-name h3{
  margin:0 0 4px;font:750 1.03rem Inter,system-ui,sans-serif;color:#f6f2f9
}
.account-wrap .discord-account-name p{
  margin:0;color:#d3cbd9;font:450 .84rem/1.5 Inter,system-ui,sans-serif;
  overflow-wrap:anywhere
}
.account-wrap .discord-account-badge{
  font:750 .74rem/1.3 Inter,system-ui,sans-serif;color:#f6f2f9;
  background:#23182d;border:1px solid #62417a;border-radius:7px;padding:6px 10px
}
.account-wrap .discord-account-badge[data-state="connected"]{
  color:#d8a3ff;border-color:#62417a;background:#18121e
}
.account-wrap .discord-account-message{
  margin:10px 0;color:#d3cbd9;font:.8rem/1.55 Inter,system-ui,sans-serif
}
.account-wrap .discord-account-message.error{color:#f7a5a5}
.account-wrap #accountDiscordLink{margin-top:8px}
.account-wrap .discord-account-servers{
  margin-top:19px;padding-top:19px;border-top:1px solid #62417a
}
.account-wrap .discord-account-servers-head{
  display:flex;justify-content:space-between;align-items:center;gap:12px
}
.account-wrap .discord-account-servers h4{
  margin:0;color:#f6f2f9;font:730 .92rem/1.4 Inter,system-ui,sans-serif
}
.account-wrap .discord-account-servers-head p{
  margin:5px 0 0;color:#d3cbd9;font:.8rem/1.5 Inter,system-ui,sans-serif
}
.account-wrap .discord-account-count{
  white-space:nowrap;border:1px solid #62417a;border-radius:7px;
  background:#18121e;color:#d8a3ff;padding:7px 10px;
  font:700 .72rem/1.3 Inter,system-ui,sans-serif
}
.account-wrap .discord-account-actions{
  display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:12px 0
}
.account-wrap .discord-account-actions .secondary-btn{display:inline-flex;align-items:center}
.account-wrap .db-connected-server-list,
.account-wrap .db-connect-choice-list{display:grid;gap:9px;margin:13px 0}
.account-wrap .db-connected-server,
.account-wrap .db-connect-choice{
  display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
  padding:12px 14px;border:1px solid #62417a;border-radius:9px;background:#18121e
}
.account-wrap .db-connected-server span:first-child{font-weight:700;color:#f6f2f9}
.account-wrap .db-connected-status{font-size:.79rem;color:#d8a3ff}
.account-wrap .db-connect-choice>div:first-child{display:grid;gap:6px}
.account-wrap .db-connect-choice strong{color:#f6f2f9;font-size:.89rem}
.account-wrap .db-connect-choice small{font-size:.75rem;color:#d8a3ff}
.account-wrap .db-connect-actions{display:flex;flex-wrap:wrap;gap:9px}
.account-wrap .db-connect-actions .db-button{
  display:inline-block;padding:10px 14px;background:#23182d;border:1px solid #62417a;
  border-radius:8px;color:#f6f2f9;text-decoration:none;font:.76rem Inter,system-ui,sans-serif;
  cursor:pointer
}
.account-wrap .discord-account [hidden]{display:none!important}
@media(max-width:620px){
 .account-wrap .discord-account{padding:15px}
 .account-wrap .discord-account-head{flex-wrap:wrap}
 .account-wrap .discord-account-servers-head{flex-wrap:wrap}
 .account-wrap .discord-account-actions>*{flex:1 1 auto;min-width:140px}
}

.account-wrap .discord-account-tip{
 margin:10px 0 0;color:#d3cbd9;font:.8rem/1.55 Inter,system-ui,sans-serif
}
.account-wrap #accountDiscordActions{margin:13px 0 0}
.account-wrap #accountDiscordActions .secondary-btn{
 display:inline-flex;align-items:center;min-height:39px
}

/* Server list is independent of optional onboarding verification. */
.account-wrap .db-connected-actions{display:flex;align-items:center;gap:13px;flex-wrap:wrap}
.account-wrap .db-connected-manage{
 color:#d8a3ff;text-decoration:none;font:750 .79rem/1.4 Inter,system-ui,sans-serif;
}
.account-wrap .db-connected-manage:hover,
.account-wrap .db-connected-manage:focus-visible{
 text-decoration:underline;text-underline-offset:4px;color:#f6f2f9
}
