.dashboard-linked-accounts {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.dashboard-user.dashboard-accounts-ready > .user-info {
  display: none;
}

.dashboard-account-card {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
  height: 44px;
  padding: 0.35rem 0.65rem 0.35rem 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 8px 24px rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

a.dashboard-account-card:hover {
  color: #fff;
  transform: translateY(-1px);
}

.dashboard-account-discord {
  border-color: rgba(88, 101, 242, 0.38);
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.16), rgba(88, 101, 242, 0.035));
}

.dashboard-account-tiktok {
  border-color: rgba(255, 0, 80, 0.3);
  background: linear-gradient(135deg, rgba(37, 244, 238, 0.08), rgba(254, 44, 85, 0.12));
}

a.dashboard-account-tiktok:hover {
  border-color: rgba(254, 44, 85, 0.7);
  background: linear-gradient(135deg, rgba(37, 244, 238, 0.13), rgba(254, 44, 85, 0.19));
}

.dashboard-platform-mark {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  border-radius: 7px;
  background: rgba(255, 255, 255, 0.09);
}

.dashboard-account-discord .dashboard-platform-mark {
  background: #5865f2;
  box-shadow: 0 0 16px rgba(88, 101, 242, 0.3);
}

.dashboard-account-tiktok .dashboard-platform-mark {
  background: #111;
  box-shadow: -2px 0 0 rgba(37, 244, 238, 0.65), 2px 0 0 rgba(254, 44, 85, 0.65);
}

.dashboard-platform-logo {
  width: 14px;
  height: 14px;
  filter: invert(1);
}

.dashboard-account-avatar {
  width: 29px;
  height: 29px;
  flex: 0 0 29px;
  border-radius: 50%;
  object-fit: cover;
  background: #111;
}

.dashboard-account-discord .dashboard-account-avatar {
  border: 1px solid rgba(88, 101, 242, 0.85);
}

.dashboard-account-tiktok .dashboard-account-avatar {
  border: 1px solid rgba(254, 44, 85, 0.78);
}

.dashboard-account-avatar-fallback {
  padding: 6px;
  filter: invert(1);
}

.dashboard-account-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.05;
}

.dashboard-account-copy small {
  margin-bottom: 0.2rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.dashboard-account-copy strong {
  display: block;
  max-width: 120px;
  overflow: hidden;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-account-plus {
  margin-left: 0.1rem;
  padding: 0.18rem 0.35rem;
  border-radius: 5px;
  color: #171000;
  background: linear-gradient(135deg, #ffe45c, #ffca00);
  font-size: 0.56rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .dashboard-user {
    gap: 0.8rem;
  }

  .dashboard-account-copy small,
  .dashboard-account-plus {
    display: none;
  }

  .dashboard-account-copy strong {
    max-width: 92px;
  }
}

@media (max-width: 768px) {
  .dashboard-user {
    flex-wrap: wrap;
    gap: 0.65rem;
  }

  .dashboard-linked-accounts {
    order: 10;
    width: 100%;
  }

  .dashboard-account-card {
    flex: 1 1 0;
  }

  .dashboard-account-copy small,
  .dashboard-account-plus {
    display: block;
  }

  .dashboard-account-copy strong {
    max-width: 150px;
  }
}

@media (max-width: 420px) {
  .dashboard-account-card {
    padding-right: 0.45rem;
  }

  .dashboard-account-copy strong {
    max-width: 88px;
  }
}
