/* Connected account — understated controls aligned with Account Settings. */
.account-wrap .discord-account{
  margin:3px 0 26px;padding:20px;border:1px solid rgba(114,183,188,.35);
  border-radius:13px;background:linear-gradient(145deg,rgba(16,35,46,.93),rgba(11,27,39,.95));
}
.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:#8be2d5;background:#193b49;border:1px solid #437482;
  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:#f4f8f9
}
.account-wrap .discord-account-name p{
  margin:0;color:#b3c9d2;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:#c7d8e3;
  background:#1d3041;border:1px solid #415368;border-radius:7px;padding:6px 10px
}
.account-wrap .discord-account-badge[data-state="connected"]{
  color:#9fe3c9;border-color:#3d736e;background:#193733
}
.account-wrap .discord-account-message{
  margin:10px 0;color:#a8becb;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 #344c5c
}
.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:#eff7fa;font:730 .92rem/1.4 Inter,system-ui,sans-serif
}
.account-wrap .discord-account-servers-head p{
  margin:5px 0 0;color:#a7bbc8;font:.8rem/1.5 Inter,system-ui,sans-serif
}
.account-wrap .discord-account-count{
  white-space:nowrap;border:1px solid #35576b;border-radius:7px;
  background:#162c3b;color:#b4dddb;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 #345263;border-radius:9px;background:#132d3c
}
.account-wrap .db-connected-server span:first-child{font-weight:700;color:#eef8fb}
.account-wrap .db-connected-status{font-size:.79rem;color:#8be1c8}
.account-wrap .db-connect-choice>div:first-child{display:grid;gap:6px}
.account-wrap .db-connect-choice strong{color:#f1f9fb;font-size:.89rem}
.account-wrap .db-connect-choice small{font-size:.75rem;color:#aac2cf}
.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:#1d4350;border:1px solid #4c7c82;
  border-radius:8px;color:#defaf5;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:#a8becb;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:#a5ebe0;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:#f5fffd
}
